Class LinearGradient


  • public class LinearGradient
    extends SVGLinearGradientContent

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <extension base="{http://www.w3.org/2000/svg}SVG.linearGradient.content">
           <attGroup ref="{http://www.w3.org/2000/svg}SVG.External.attrib"/>
           <attGroup ref="{http://www.w3.org/2000/svg}SVG.Style.attrib"/>
           <attGroup ref="{http://www.w3.org/2000/svg}SVG.XLink.attrib"/>
           <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
           <attGroup ref="{http://www.w3.org/2000/svg}SVG.Gradient.attrib"/>
           <attGroup ref="{http://www.w3.org/2000/svg}SVG.Color.attrib"/>
           <attribute name="x1" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
           <attribute name="y1" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
           <attribute name="x2" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
           <attribute name="y2" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
           <attribute name="gradientUnits">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}token">
                 <enumeration value="userSpaceOnUse"/>
                 <enumeration value="objectBoundingBox"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="gradientTransform" type="{http://www.w3.org/2000/svg}TransformList.datatype" />
           <attribute name="spreadMethod">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}token">
                 <enumeration value="pad"/>
                 <enumeration value="reflect"/>
                 <enumeration value="repeat"/>
               </restriction>
             </simpleType>
           </attribute>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Summary

      Constructors 
      Constructor Description
      LinearGradient()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getActuate()
      Gets the value of the actuate property.
      java.lang.String getArcrole()
      Gets the value of the arcrole property.
      java.lang.String getBase()
      Gets the value of the base property.
      java.lang.String getClazz()
      Gets the value of the clazz property.
      java.lang.String getColor()
      Gets the value of the color property.
      java.lang.String getColorInterpolation()
      Gets the value of the colorInterpolation property.
      java.lang.String getColorRendering()
      Gets the value of the colorRendering property.
      BooleanDatatype getExternalResourcesRequired()
      Gets the value of the externalResourcesRequired property.
      java.lang.String getGradientTransform()
      Gets the value of the gradientTransform property.
      java.lang.String getGradientUnits()
      Gets the value of the gradientUnits property.
      java.lang.String getHref()
      Gets the value of the href property.
      java.lang.String getId()
      Gets the value of the id property.
      java.lang.String getLang()
      Gets the value of the lang property.
      java.lang.String getRole()
      Gets the value of the role property.
      java.lang.String getShow()
      Gets the value of the show property.
      java.lang.String getSpace()
      Gets the value of the space property.
      java.lang.String getSpreadMethod()
      Gets the value of the spreadMethod property.
      java.lang.String getStopColor()
      Gets the value of the stopColor property.
      java.lang.String getStopOpacity()
      Gets the value of the stopOpacity property.
      java.lang.String getStyle()
      Gets the value of the style property.
      java.lang.String getTitle()
      Gets the value of the title property.
      java.lang.String getType()
      Gets the value of the type property.
      java.lang.String getX1()
      Gets the value of the x1 property.
      java.lang.String getX2()
      Gets the value of the x2 property.
      java.lang.String getY1()
      Gets the value of the y1 property.
      java.lang.String getY2()
      Gets the value of the y2 property.
      void setActuate​(java.lang.String value)
      Sets the value of the actuate property.
      void setArcrole​(java.lang.String value)
      Sets the value of the arcrole property.
      void setBase​(java.lang.String value)
      Sets the value of the base property.
      void setClazz​(java.lang.String value)
      Sets the value of the clazz property.
      void setColor​(java.lang.String value)
      Sets the value of the color property.
      void setColorInterpolation​(java.lang.String value)
      Sets the value of the colorInterpolation property.
      void setColorRendering​(java.lang.String value)
      Sets the value of the colorRendering property.
      void setExternalResourcesRequired​(BooleanDatatype value)
      Sets the value of the externalResourcesRequired property.
      void setGradientTransform​(java.lang.String value)
      Sets the value of the gradientTransform property.
      void setGradientUnits​(java.lang.String value)
      Sets the value of the gradientUnits property.
      void setHref​(java.lang.String value)
      Sets the value of the href property.
      void setId​(java.lang.String value)
      Sets the value of the id property.
      void setLang​(java.lang.String value)
      Sets the value of the lang property.
      void setRole​(java.lang.String value)
      Sets the value of the role property.
      void setShow​(java.lang.String value)
      Sets the value of the show property.
      void setSpace​(java.lang.String value)
      Sets the value of the space property.
      void setSpreadMethod​(java.lang.String value)
      Sets the value of the spreadMethod property.
      void setStopColor​(java.lang.String value)
      Sets the value of the stopColor property.
      void setStopOpacity​(java.lang.String value)
      Sets the value of the stopOpacity property.
      void setStyle​(java.lang.String value)
      Sets the value of the style property.
      void setTitle​(java.lang.String value)
      Sets the value of the title property.
      void setType​(java.lang.String value)
      Sets the value of the type property.
      void setX1​(java.lang.String value)
      Sets the value of the x1 property.
      void setX2​(java.lang.String value)
      Sets the value of the x2 property.
      void setY1​(java.lang.String value)
      Sets the value of the y1 property.
      void setY2​(java.lang.String value)
      Sets the value of the y2 property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • x1

        protected java.lang.String x1
      • y1

        protected java.lang.String y1
      • x2

        protected java.lang.String x2
      • y2

        protected java.lang.String y2
      • gradientUnits

        protected java.lang.String gradientUnits
      • gradientTransform

        protected java.lang.String gradientTransform
      • spreadMethod

        protected java.lang.String spreadMethod
      • externalResourcesRequired

        protected BooleanDatatype externalResourcesRequired
      • style

        protected java.lang.String style
      • clazz

        protected java.lang.String clazz
      • type

        protected java.lang.String type
      • href

        protected java.lang.String href
      • role

        protected java.lang.String role
      • arcrole

        protected java.lang.String arcrole
      • title

        protected java.lang.String title
      • show

        protected java.lang.String show
      • actuate

        protected java.lang.String actuate
      • id

        protected java.lang.String id
      • base

        protected java.lang.String base
      • space

        protected java.lang.String space
      • lang

        protected java.lang.String lang
      • stopColor

        protected java.lang.String stopColor
      • stopOpacity

        protected java.lang.String stopOpacity
      • colorInterpolation

        protected java.lang.String colorInterpolation
      • colorRendering

        protected java.lang.String colorRendering
      • color

        protected java.lang.String color
    • Constructor Detail

      • LinearGradient

        public LinearGradient()
    • Method Detail

      • getX1

        public java.lang.String getX1()
        Gets the value of the x1 property.
        Returns:
        possible object is String
      • setX1

        public void setX1​(java.lang.String value)
        Sets the value of the x1 property.
        Parameters:
        value - allowed object is String
      • getY1

        public java.lang.String getY1()
        Gets the value of the y1 property.
        Returns:
        possible object is String
      • setY1

        public void setY1​(java.lang.String value)
        Sets the value of the y1 property.
        Parameters:
        value - allowed object is String
      • getX2

        public java.lang.String getX2()
        Gets the value of the x2 property.
        Returns:
        possible object is String
      • setX2

        public void setX2​(java.lang.String value)
        Sets the value of the x2 property.
        Parameters:
        value - allowed object is String
      • getY2

        public java.lang.String getY2()
        Gets the value of the y2 property.
        Returns:
        possible object is String
      • setY2

        public void setY2​(java.lang.String value)
        Sets the value of the y2 property.
        Parameters:
        value - allowed object is String
      • getGradientUnits

        public java.lang.String getGradientUnits()
        Gets the value of the gradientUnits property.
        Returns:
        possible object is String
      • setGradientUnits

        public void setGradientUnits​(java.lang.String value)
        Sets the value of the gradientUnits property.
        Parameters:
        value - allowed object is String
      • getGradientTransform

        public java.lang.String getGradientTransform()
        Gets the value of the gradientTransform property.
        Returns:
        possible object is String
      • setGradientTransform

        public void setGradientTransform​(java.lang.String value)
        Sets the value of the gradientTransform property.
        Parameters:
        value - allowed object is String
      • getSpreadMethod

        public java.lang.String getSpreadMethod()
        Gets the value of the spreadMethod property.
        Returns:
        possible object is String
      • setSpreadMethod

        public void setSpreadMethod​(java.lang.String value)
        Sets the value of the spreadMethod property.
        Parameters:
        value - allowed object is String
      • getExternalResourcesRequired

        public BooleanDatatype getExternalResourcesRequired()
        Gets the value of the externalResourcesRequired property.
        Returns:
        possible object is BooleanDatatype
      • setExternalResourcesRequired

        public void setExternalResourcesRequired​(BooleanDatatype value)
        Sets the value of the externalResourcesRequired property.
        Parameters:
        value - allowed object is BooleanDatatype
      • getStyle

        public java.lang.String getStyle()
        Gets the value of the style property.
        Returns:
        possible object is String
      • setStyle

        public void setStyle​(java.lang.String value)
        Sets the value of the style property.
        Parameters:
        value - allowed object is String
      • getClazz

        public java.lang.String getClazz()
        Gets the value of the clazz property.
        Returns:
        possible object is String
      • setClazz

        public void setClazz​(java.lang.String value)
        Sets the value of the clazz property.
        Parameters:
        value - allowed object is String
      • getType

        public java.lang.String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

        public void setType​(java.lang.String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String
      • getHref

        public java.lang.String getHref()
        Gets the value of the href property.
        Returns:
        possible object is String
      • setHref

        public void setHref​(java.lang.String value)
        Sets the value of the href property.
        Parameters:
        value - allowed object is String
      • getRole

        public java.lang.String getRole()
        Gets the value of the role property.
        Returns:
        possible object is String
      • setRole

        public void setRole​(java.lang.String value)
        Sets the value of the role property.
        Parameters:
        value - allowed object is String
      • getArcrole

        public java.lang.String getArcrole()
        Gets the value of the arcrole property.
        Returns:
        possible object is String
      • setArcrole

        public void setArcrole​(java.lang.String value)
        Sets the value of the arcrole property.
        Parameters:
        value - allowed object is String
      • getTitle

        public java.lang.String getTitle()
        Gets the value of the title property.
        Returns:
        possible object is String
      • setTitle

        public void setTitle​(java.lang.String value)
        Sets the value of the title property.
        Parameters:
        value - allowed object is String
      • getShow

        public java.lang.String getShow()
        Gets the value of the show property.
        Returns:
        possible object is String
      • setShow

        public void setShow​(java.lang.String value)
        Sets the value of the show property.
        Parameters:
        value - allowed object is String
      • getActuate

        public java.lang.String getActuate()
        Gets the value of the actuate property.
        Returns:
        possible object is String
      • setActuate

        public void setActuate​(java.lang.String value)
        Sets the value of the actuate property.
        Parameters:
        value - allowed object is String
      • getId

        public java.lang.String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(java.lang.String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • getBase

        public java.lang.String getBase()
        Gets the value of the base property.
        Returns:
        possible object is String
      • setBase

        public void setBase​(java.lang.String value)
        Sets the value of the base property.
        Parameters:
        value - allowed object is String
      • getSpace

        public java.lang.String getSpace()
        Gets the value of the space property.
        Returns:
        possible object is String
      • setSpace

        public void setSpace​(java.lang.String value)
        Sets the value of the space property.
        Parameters:
        value - allowed object is String
      • getLang

        public java.lang.String getLang()
        Gets the value of the lang property.
        Returns:
        possible object is String
      • setLang

        public void setLang​(java.lang.String value)
        Sets the value of the lang property.
        Parameters:
        value - allowed object is String
      • getStopColor

        public java.lang.String getStopColor()
        Gets the value of the stopColor property.
        Returns:
        possible object is String
      • setStopColor

        public void setStopColor​(java.lang.String value)
        Sets the value of the stopColor property.
        Parameters:
        value - allowed object is String
      • getStopOpacity

        public java.lang.String getStopOpacity()
        Gets the value of the stopOpacity property.
        Returns:
        possible object is String
      • setStopOpacity

        public void setStopOpacity​(java.lang.String value)
        Sets the value of the stopOpacity property.
        Parameters:
        value - allowed object is String
      • getColorInterpolation

        public java.lang.String getColorInterpolation()
        Gets the value of the colorInterpolation property.
        Returns:
        possible object is String
      • setColorInterpolation

        public void setColorInterpolation​(java.lang.String value)
        Sets the value of the colorInterpolation property.
        Parameters:
        value - allowed object is String
      • getColorRendering

        public java.lang.String getColorRendering()
        Gets the value of the colorRendering property.
        Returns:
        possible object is String
      • setColorRendering

        public void setColorRendering​(java.lang.String value)
        Sets the value of the colorRendering property.
        Parameters:
        value - allowed object is String
      • getColor

        public java.lang.String getColor()
        Gets the value of the color property.
        Returns:
        possible object is String
      • setColor

        public void setColor​(java.lang.String value)
        Sets the value of the color property.
        Parameters:
        value - allowed object is String