Class: SimplifierSVG

SimplifierSVG(svg, idIdentifier)

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}
Source:

Members

div :HTMLDivElement

Type:
  • HTMLDivElement
Source:

div :HTMLDivElement

Type:
  • HTMLDivElement
Source:

div

Source:

Methods

setSvgWidthTo(width)

Parameters:
Name Type Description
width int sets the width in % from 0 to 100
Source: