Interface: SVGFactory

select.SVGFactory

An object that creates SVG elements for the canvas.

Source:

Methods

createSVGElement(jsonMap) → {SVGElement}

Parameters:
Name Type Description
jsonMap module:utilities.EditorContext#addSVGElementsFromJson
Source:
Returns:
Type
SVGElement

getZoom() → {Float}

Source:
Returns:

The current zoom level

Type
Float

svgContent() → {SVGSVGElement}

Source:
Returns:
Type
SVGSVGElement

svgRoot() → {SVGSVGElement}

Source:
Returns:
Type
SVGSVGElement