Class SvgLinearGradientElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • SvgLinearGradientElement

        public SvgLinearGradientElement​(OdfFileDom ownerDoc)
        Create the instance of SvgLinearGradientElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • getDrawDisplayNameAttribute

        public String getDrawDisplayNameAttribute()
        Receives the value of the ODFDOM attribute representation DrawDisplayNameAttribute , See @draw:display-name
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawDisplayNameAttribute

        public void setDrawDisplayNameAttribute​(String drawDisplayNameValue)
        Sets the value of ODFDOM attribute representation DrawDisplayNameAttribute , See @draw:display-name
        Parameters:
        drawDisplayNameValue - The type is String
      • getDrawNameAttribute

        public String getDrawNameAttribute()
        Receives the value of the ODFDOM attribute representation DrawNameAttribute , See @draw:name

        Attribute is mandatory.

        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawNameAttribute

        public void setDrawNameAttribute​(String drawNameValue)
        Sets the value of ODFDOM attribute representation DrawNameAttribute , See @draw:name
        Parameters:
        drawNameValue - The type is String
      • getSvgGradientTransformAttribute

        public String getSvgGradientTransformAttribute()
        Receives the value of the ODFDOM attribute representation SvgGradientTransformAttribute , See @svg:gradientTransform
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgGradientTransformAttribute

        public void setSvgGradientTransformAttribute​(String svgGradientTransformValue)
        Sets the value of ODFDOM attribute representation SvgGradientTransformAttribute , See @svg:gradientTransform
        Parameters:
        svgGradientTransformValue - The type is String
      • getSvgGradientUnitsAttribute

        public String getSvgGradientUnitsAttribute()
        Receives the value of the ODFDOM attribute representation SvgGradientUnitsAttribute , See @svg:gradientUnits
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgGradientUnitsAttribute

        public void setSvgGradientUnitsAttribute​(String svgGradientUnitsValue)
        Sets the value of ODFDOM attribute representation SvgGradientUnitsAttribute , See @svg:gradientUnits
        Parameters:
        svgGradientUnitsValue - The type is String
      • getSvgSpreadMethodAttribute

        public String getSvgSpreadMethodAttribute()
        Receives the value of the ODFDOM attribute representation SvgSpreadMethodAttribute , See @svg:spreadMethod
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgSpreadMethodAttribute

        public void setSvgSpreadMethodAttribute​(String svgSpreadMethodValue)
        Sets the value of ODFDOM attribute representation SvgSpreadMethodAttribute , See @svg:spreadMethod
        Parameters:
        svgSpreadMethodValue - The type is String
      • getSvgX1Attribute

        public String getSvgX1Attribute()
        Receives the value of the ODFDOM attribute representation SvgX1Attribute , See @svg:x1
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgX1Attribute

        public void setSvgX1Attribute​(String svgX1Value)
        Sets the value of ODFDOM attribute representation SvgX1Attribute , See @svg:x1
        Parameters:
        svgX1Value - The type is String
      • getSvgX2Attribute

        public String getSvgX2Attribute()
        Receives the value of the ODFDOM attribute representation SvgX2Attribute , See @svg:x2
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgX2Attribute

        public void setSvgX2Attribute​(String svgX2Value)
        Sets the value of ODFDOM attribute representation SvgX2Attribute , See @svg:x2
        Parameters:
        svgX2Value - The type is String
      • getSvgY1Attribute

        public String getSvgY1Attribute()
        Receives the value of the ODFDOM attribute representation SvgY1Attribute , See @svg:y1
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgY1Attribute

        public void setSvgY1Attribute​(String svgY1Value)
        Sets the value of ODFDOM attribute representation SvgY1Attribute , See @svg:y1
        Parameters:
        svgY1Value - The type is String
      • getSvgY2Attribute

        public String getSvgY2Attribute()
        Receives the value of the ODFDOM attribute representation SvgY2Attribute , See @svg:y2
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgY2Attribute

        public void setSvgY2Attribute​(String svgY2Value)
        Sets the value of ODFDOM attribute representation SvgY2Attribute , See @svg:y2
        Parameters:
        svgY2Value - The type is String
      • newSvgStopElement

        public SvgStopElement newSvgStopElement​(String svgOffsetValue)
        Create child element <svg:stop>.
        Parameters:
        svgOffsetValue - the String value of SvgOffsetAttribute, see @svg:offset at specification
        Returns:
        the element <svg:stop>
      • accept

        public void accept​(ElementVisitor visitor)
        Description copied from class: OdfElement
        Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
        Overrides:
        accept in class OdfElement
        Parameters:
        visitor - an instance of DefaultElementVisitor