com.aspose.html.dom.svg

Class SVGGradientElement

    • Field Detail

      • SVG_SPREADMETHOD_UNKNOWN

        @DOMNameAttribute(name="SVG_SPREADMETHOD_UNKNOWN")
        public static final int SVG_SPREADMETHOD_UNKNOWN

        The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.

        See Also:
        Constant Field Values
    • Constructor Detail

      • SVGGradientElement

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

      • 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
      • getGradientUnits

        @DOMNameAttribute(name="gradientUnits")
        public SVGAnimatedEnumeration getGradientUnits()

        Corresponds to attribute ‘gradientUnits’ on the given element. Takes one of the constants defined in SVGUnitTypes.

        Value: The attribute ‘gradientUnits’ of the given element.
      • getGradientTransform

        @DOMNameAttribute(name="gradientTransform")
        public SVGAnimatedTransformList getGradientTransform()

        Corresponds to attribute ‘gradientTransform’ on the given element.

        Value: The attribute ‘gradientTransform’ of the given element.
      • getSpreadMethod

        @DOMNameAttribute(name="spreadMethod")
        public SVGAnimatedEnumeration getSpreadMethod()

        Corresponds to attribute ‘spreadMethod’ on the given element. One of the Spread Method Types defined on this interface.

        Value: The attribute ‘spreadMethod’ of the given element.