Interface ISvgUse
interface ISvgUse
Extends ISvgNode
Represents an SVG Use element.
The Use element takes nodes from within the SVG document, and duplicates them somewhere else.
See also - ISvgNode.
Methods
setX()
Sets the x position of the element. The x coordinate of an additional final offset transformation applied to the use element. Default value is 0.0 withvoidsetX(SvgLengthx)
SvgUnit::Number
Parameters
x
SvgLength — Required
sequence of X-coordinates SvgLength to set.
setY()
Sets the y position of the element. The y coordinate of an additional final offset transformation applied to the use element. Default value is 0.0 withvoidsetY(SvgLengthy)
SvgUnit::Number
Parameters
y
SvgLength — Required
sequence of Y-coordinates SvgLength to set.
setWidth()
Sets the width of the element. The width of the use element. Default value is 0.0 withvoidsetWidth(SvgLengthwidth)
SvgUnit::Percentage
Parameters
width
SvgLength — Required
SvgLength to set.
setHeight()
Sets the height of the element. The height of the use element. Default value is 0.0 withvoidsetHeight(SvgLengthheight)
SvgUnit::Percentage
Parameters
height
SvgLength — Required
SvgLength to set.
setHref()
Sets the href attribute to reference another element. The URL to an element/fragment that needs to be duplicated. Default value: nonevoidsetHref(stringhref)
Parameters
href
string — Required
string value to set.

