0.1.7 • Published 1 year ago

@fxcie/svg v0.1.7

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 year ago

@fxcie/svg

My SVG utility

SVG handling tool

Install

npm install @fxcie/svg

Usage

// Common JS
const SVG = require('@fxcie/svg/cjs')

// Module JS
import { SVG } from '@fxcie/svg'
or
import { SVG } from '@fxcie/svg/mjs'


// Typescript
import { SVG } from '@fxcie/svg/src'

Static

SVG.modifyPath(path: string, options: PathModifyOptions): Create a modified path.

Path modify options are in an object with the following optional options:

  • scaleX as number;
  • scaleY as number;
  • shiftX as number;
  • shiftY as number;
  • decimalPlaces as number;
0.1.7

1 year ago

0.1.4

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago