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 ISvgModule3

interface ISvgModule3
Extends ISvgModule2 This interface extends ISvgModule2 with additional capability to create a textPath element. Obtain via TryQueryInterface<ISvgModule3>().

Methods

makeSvgTextPath()

ISvgTextPath* makeSvgTextPath(ISvgPathNode? path)
This function creates a TextPath element which lays out its text content along the shape of the given path. The path geometry is captured at construction; later changes to the passed ISvgPathNode (for example via ISvgPathNode::setPath) do not propagate to the returned textPath. Use ISvgTextPath::setInlinePath or ISvgTextPath::setHref to change the path afterward.

Parameters

path
ISvgPathNode? — Optional the ISvgPathNode whose geometry the text is laid out along, or null to create the textPath with no path source. When null, no text is laid out until a path is set via ISvgTextPath::setInlinePath or ISvgTextPath::setHref.

Returns

ISvgTextPath* the new created ISvgTextPath object. More details: https://svgwg.org/svg2-draft/text.html#TextPathElement
Last modified on October 29, 2026