public class DmlGradientFill extends DmlFill
Modifier and Type | Class and Description |
---|---|
static class |
DmlGradientFill.TileRectFlip |
XMLContainerImpl.sMode
mContentAndSubtagList
Constructor and Description |
---|
DmlGradientFill() |
Modifier and Type | Method and Description |
---|---|
DmlGradientFill |
addGradientStop(Percent inPosition,
DmlColor inColorModel) |
DmlGradientFill |
setAngle(Angle inValue)
Specifies the direction (clockwise) for the gradient.
|
DmlGradientFill |
setFlip(DmlGradientFill.TileRectFlip inValue)
Specifies the direction in which to flip the gradient while tiling.
|
DmlGradientFill |
setRotateWithShape(boolean inValue)
Specifies if the gradient fill rotates with the shape when the shape is rotated.
|
DmlGradientFill |
setScaled(boolean inValue)
Specifies whether the angle scales with the fill region.
|
addSubtag, addSubtag, addXMLNamespaceDeclaration, clone, compareTo, equals, findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getEndTag, getNamespace, getQualifiedTagName, getStartTag, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttribute, setAttribute, setAttributes, setContent, setDefaultXMLNamespaceDeclaration, setNamespace, setSortAttributesBeforeWriting, setTagName, setTagName, sortAttributes, toIndentedXML, toIndentedXML, toIndentedXML, toIndentedXML, toString, toXML, toXML, toXML, toXML, useDoubleQuotes, verifyTagName, verifyTagName, verifyTagName, verifyTagName
addContent, addContentWithoutEscaping, addSubtag, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getContentPlusSubtagList, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagById, getRequiredSubtagById, getRequiredSubtagByName, getRequiredSubtagByName, getSubtagByAttribute, getSubtagByAttribute, getSubtags, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByClass, getSubtagsByClass, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, hasContentOrSubtags, indexOf, innerHTML, removeSubtag, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByClass, removeSubtagsByClass, removeSubtagsByName, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtags
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addContent, addContentWithoutEscaping, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagByName, getRequiredSubtagByName, getSubtags, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, indexOf, removeSubtag, removeSubtagsByName, removeSubtagsByName, setParentNode, setSubtags
public DmlGradientFill()
public DmlGradientFill setAngle(Angle inValue)
inValue
- gradient angle in arbitrary units. (The value in the xml will be converted to 60000ths of a degree)public DmlGradientFill setScaled(boolean inValue)
inValue
- whether the angle scales with the fill regionpublic DmlGradientFill addGradientStop(Percent inPosition, DmlColor inColorModel)
public DmlGradientFill setFlip(DmlGradientFill.TileRectFlip inValue)
inValue
- the direction to flip the gradient fillpublic DmlGradientFill setRotateWithShape(boolean inValue)
inValue
- whether to rotate the gradient fill when the shape is rotated
jataylor@hairyfatguy.com