com.aspose.html.dom.svg

Class SVGUseElement

    • Constructor Detail

      • SVGUseElement

        public SVGUseElement(com.aspose.html.dom.DOMName name,
                             Document doc)

        Initializes a new instance of the SVGElement class.

        Parameters:
        name - The element name.
        doc - The document.
    • Method Detail

      • getX

        @DOMNameAttribute(name="x")
        public SVGAnimatedLength getX()

        Corresponds to attribute ‘x’ on the given ‘use’ element.

        Value: Corresponds to attribute ‘x’ on the given ‘use’ element.
      • getY

        @DOMNameAttribute(name="y")
        public SVGAnimatedLength getY()

        Corresponds to attribute ‘y’ on the given ‘use’ element.

        Value: Corresponds to attribute ‘y’ on the given ‘use’ element.
      • getWidth

        @DOMNameAttribute(name="width")
        public SVGAnimatedLength getWidth()

        Corresponds to attribute ‘width’ on the given ‘use’ element.

        Value: Corresponds to attribute ‘width’ on the given ‘use’ element.
      • getHeight

        @DOMNameAttribute(name="height")
        public SVGAnimatedLength getHeight()

        Corresponds to attribute ‘height’ on the given ‘use’ element.

        Value: Corresponds to attribute ‘height’ on the given ‘use’ element.
      • getInstanceRoot

        @DOMNameAttribute(name="instanceRoot")
        public SVGElement getInstanceRoot()

        The root of the "instance tree". See description of SVGElementInstance for a discussion on the instance tree.

        Value: The instance root.
      • getAnimatedInstanceRoot

        @DOMNameAttribute(name="animatedInstanceRoot")
        public SVGElement getAnimatedInstanceRoot()

        If the ‘xlink:href’ attribute is being animated, contains the current animated root of the "instance tree". If the ‘xlink:href’ attribute is not currently being animated, contains the same value as instanceRoot. See description of SVGElementInstance for a discussion on the instance tree.

        Value: The animated instance root.
      • getHref

        public SVGAnimatedString getHref()

        Corresponds to attribute ‘xlink:href’ on the given element.

        Value: The ‘xlink:href’ of the given element.
        Specified by:
        getHref in interface ISVGURIReference