com.aspose.html.dom.svg

Class SVGLinearGradientElement

    • Constructor Detail

      • SVGLinearGradientElement

        public SVGLinearGradientElement(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

      • getX1

        @DOMNameAttribute(name="x1")
        public SVGAnimatedLength getX1()

        Corresponds to attribute ‘x1’ on the given ‘linearGradient’ element.

        Value: The attribute ‘x1’ of the given ‘linearGradient’ element.
      • getY1

        @DOMNameAttribute(name="y1")
        public SVGAnimatedLength getY1()

        Corresponds to attribute ‘y1’ on the given ‘linearGradient’ element.

        Value: The attribute ‘y1’ of the given ‘linearGradient’ element.
      • getX2

        @DOMNameAttribute(name="x2")
        public SVGAnimatedLength getX2()

        Corresponds to attribute ‘x2’ on the given ‘linearGradient’ element.

        Value: The attribute ‘x2’ of the given ‘linearGradient’ element.
      • getY2

        @DOMNameAttribute(name="y2")
        public SVGAnimatedLength getY2()

        Corresponds to attribute ‘y2’ on the given ‘linearGradient’ element.

        Value: The attribute ‘y2’ of the given ‘linearGradient’ element.