svg:linearGradientType

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
base optional
class svg:ClassListType optional
externalResourcesRequired boolean optional
gradientTransform svg:TransformListType optional
gradientUnits restriction of string optional
id ID optional
spreadMethod restriction of string pad optional
style svg:StyleSheetType optional
x1 svg:CoordinateType optional
x2 svg:CoordinateType optional
xlink:actuate xlink:actuateType optional
xlink:arcrole xlink:arcroleType optional
xlink:href xlink:hrefType optional
xlink:role xlink:roleType optional
xlink:show xlink:showType other optional
xlink:title xlink:titleAttrType optional
xlink:type xlink:typeType simple optional
y1 svg:CoordinateType optional
y2 svg:CoordinateType optional

Used By

Source

<complexType name="linearGradientType">
  <sequence>
    <group ref="svg:descTitleMetadata" minOccurs="0"/>
    <choice minOccurs="0" maxOccurs="unbounded">
      <element ref="svg:stop"/>
      <element ref="svg:animate"/>
      <element ref="svg:set"/>
      <element ref="svg:animateTransform"/>
    </choice>
  </sequence>
  <attributeGroup ref="svg:stdAttrs"/>
  <attributeGroup ref="svg:xlinkRefAttrs"/>
  <attribute ref="xlink:href" use="optional"/>
  <attribute name="externalResourcesRequired" type="boolean" use="optional"/>
  <attribute name="class" type="svg:ClassListType" use="optional"/>
  <attribute name="style" type="svg:StyleSheetType" use="optional"/>
  <attribute name="gradientUnits" use="optional">
    <!-- @@ need to add more attributes here @@ -->
    <simpleType>
      <restriction base="string">
        <enumeration value="userSpaceOnUse"/>
        <enumeration value="userSpace"/>
        <enumeration value="objectBoundingBox"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="gradientTransform" type="svg:TransformListType" use="optional"/>
  <attribute name="x1" type="svg:CoordinateType" use="optional"/>
  <attribute name="y1" type="svg:CoordinateType" use="optional"/>
  <attribute name="x2" type="svg:CoordinateType" use="optional"/>
  <attribute name="y2" type="svg:CoordinateType" use="optional"/>
  <attribute name="spreadMethod" default="pad">
    <simpleType>
      <restriction base="string">
        <enumeration value="pad"/>
        <enumeration value="reflect"/>
        <enumeration value="repeat"/>
      </restriction>
    </simpleType>
  </attribute>
</complexType>