com.aspose.html.dom.svg

Class SVGImageElement

    • Constructor Detail

      • SVGImageElement

        public SVGImageElement(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 ‘image’ element.

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

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

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

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

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

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

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

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

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

        Value: Corresponds to attribute ‘height’ on the given ‘image’ element.
      • 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