documentationfor yFiles for HTML 2.6

ISvgDefsCreator

Classes that implement this interface can be placed in the SVGs defs section by the SvgDefsManager.

Inheritance Hierarchy

Remarks

The SvgDefsManager can then create and update an element that can be used with an SVG use element. The interface is also used to help the SvgDefsManager to find unused elements that can be removed from the defs section.

When an element is created using this interface, the SvgDefsManager assigns an ID to it that is required to reference it through an SVG use element. The ID that was assigned to it can be queried using the getDefsId method when the ISvgDefsCreator object is passed in that was used to create the element.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.view.ISvgDefsCreator

Methods

Static Methods