new SimplifierSVG(svg, idIdentifier)
Parameters:
| Name | Type | Description |
|---|---|---|
svg |
string | the svg as a string |
idIdentifier |
string | may be empty, id is build like this: svgDiv${idIdentifier}${state.pictureCounter} |
Members
div :HTMLDivElement
Type:
- HTMLDivElement
div :HTMLDivElement
Type:
- HTMLDivElement
div
Methods
setSvgWidthTo(width)
Parameters:
| Name | Type | Description |
|---|---|---|
width |
int | sets the width in % from 0 to 100 |