url()
Produces a "url(#name)" reference for SVG
elements.
Syntax
url( name STRING )
RETURNS STRING
- name is the URL name.
Usage
This function builds a "url(#name)" SVG attribute with the
name passed as parameter.
This URL attribute is typically used in SVG elements to reference a common reusable element
defined in the "defs" element, such as SVG patterns.
Example
CALL n.setAttribute(SVGATT_STYLE,
SFMT('stroke:gray; fill:%1;', fglsvgcanvas.url("pattern_1") )
)