com.aspose.html.dom.svg

Class SVGForeignObjectElement

    • Constructor Detail

      • SVGForeignObjectElement

        public SVGForeignObjectElement(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 ‘foreignObject’ element.

        Value: The attribute ‘x’ of the given ‘foreignObject’ element.
      • getY

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

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

        Value: The attribute ‘y’ of the given ‘foreignObject’ element.
      • getWidth

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

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

        Value: The attribute ‘width’ of the given ‘foreignObject’ element.
      • getHeight

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

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

        Value: The attribute ‘height’ of the given ‘foreignObject’ element.