2.6.3.7 CT_GradientFillProperties

Target namespace: http://schemas.microsoft.com/office/word/2010/wordml

Referenced by: CT_TextOutlineEffect, CT_FillTextEffect

A complex type that specifies a gradient fill. A gradient fill is a fill that is characterized by a smooth gradual transition from one color to the next.

The desired transition colors and locations are specified in the gradient stop list (gsLst) child element. When this element has neither lin nor path child elements, a default lin element with ang = 0 and scaled = false is assumed.

Child Elements:

gsLst: A CT_GradientStopList element that specifies gradient colors and their relative positions in the color band. Black solid fill is used as a default when this element is absent.

lin: A CT_LinearShadeProperties element that specifies a linear gradient.

path: A CT_PathShadeProperties element that specifies that the gradient fill follows a path versus a linear line.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_GradientFillProperties">
   <xsd:sequence>
     <xsd:element name="gsLst" type="CT_GradientStopList" minOccurs="0"/>
     <xsd:group ref="EG_ShadeProperties" minOccurs="0"/>
   </xsd:sequence>
 </xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).