Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

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()

void setX(SvgLength x)
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 with SvgUnit::Number

Parameters

x
SvgLength — Required sequence of X-coordinates SvgLength to set.

setY()

void setY(SvgLength y)
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 with SvgUnit::Number

Parameters

y
SvgLength — Required sequence of Y-coordinates SvgLength to set.

setWidth()

void setWidth(SvgLength width)
Sets the width of the element. The width of the use element. Default value is 0.0 with SvgUnit::Percentage

Parameters

width
SvgLength — Required SvgLength to set.

setHeight()

void setHeight(SvgLength height)
Sets the height of the element. The height of the use element. Default value is 0.0 with SvgUnit::Percentage

Parameters

height
SvgLength — Required SvgLength to set.

setHref()

void setHref(string href)
Sets the href attribute to reference another element. The URL to an element/fragment that needs to be duplicated. Default value: none

Parameters

href
string — Required string value to set.
Last modified on October 29, 2026