documentationfor yFiles for HTML 2.6

Usages of ISvgDefsCreator

Method Return Values

create ()in ISvgDefsCreatorCreates an implementation of the interface ISvgDefsCreator from the given definition.

Method Parameters

getDefsId (ISvgDefsCreator)in ICanvasContextAdds an element to the defs section of the document, if it has not been added yet.

Implementing Types

LinearGradientFills an area with a linear gradient.
PatternFillFills an area with a SVG pattern.
RadialGradientFills an area with a radial gradient.