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>
 
  • Field Details

    • x1

      protected String x1
    • y1

      protected String y1
    • x2

      protected String x2
    • y2

      protected String y2
    • gradientUnits

      protected String gradientUnits
    • gradientTransform

      protected String gradientTransform
    • spreadMethod

      protected String spreadMethod
    • externalResourcesRequired

      protected BooleanDatatype externalResourcesRequired
    • style

      protected String style
    • clazz

      protected String clazz
    • type

      protected String type
    • href

      protected String href
    • role

      protected String role
    • arcrole

      protected String arcrole
    • title

      protected String title
    • show

      protected String show
    • actuate

      protected String actuate
    • id

      protected String id
    • base

      protected String base
    • space

      protected String space
    • lang

      protected String lang
    • stopColor

      protected String stopColor
    • stopOpacity

      protected String stopOpacity
    • colorInterpolation

      protected String colorInterpolation
    • colorRendering

      protected String colorRendering
    • color

      protected String color
  • Constructor Details

    • LinearGradient

      public LinearGradient()
  • Method Details

    • getX1

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void setSpreadMethod(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 String getStyle()
      Gets the value of the style property.
      Returns:
      possible object is String
    • setStyle

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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