public class CT_AxialShd extends OFDElement implements ColorClusterType
在轴向渐变中,颜色渐变沿着一条指定的轴线方向,轴线由起始点和结束点决定, 与这条轴线垂直的直线上的点颜色相同。
当轴向渐变某个方向设定为延伸时(Extend 不等于 0),渐变应沿轴在该方向的延长线 延伸到超出裁剪区在该轴线的投影区域为止。当 MapType 为 Direct 时,延伸区域的 渲染颜色使用该方向轴点所在的段的颜色;否则,按照在轴线区域内的渲染规则进行渲染。
8.3.4.2 轴向渐变 图 29、30 表 29
proxy| 限定符 | 构造器和说明 |
|---|---|
|
CT_AxialShd() |
|
CT_AxialShd(org.dom4j.Element proxy) |
protected |
CT_AxialShd(String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
CT_AxialShd |
addSegment(Segment segment)
【必选】
增加 段
|
ST_Pos |
getEndPoint()
【必选 属性】
设置 轴线结束点
|
Extend |
getExtend()
【可选 属性】
获取 轴线延长线方向是否继续绘制
默认值为
Extend._0 不向两侧继续绘制渐变 |
MapType |
getMapType()
【可选 属性】
获取 渐变绘制的方式
可选值参考
MapType |
Double |
getMapUnit()
【可选 属性】
获取 轴线一个渐变区间的长度
当 MapType 的值不等于 Direct 时出现
默认值为轴线长度
|
List<Segment> |
getSegments()
【必选】
获取 段列表
|
ST_Pos |
getStartPoint()
【必选 属性】
获取 轴线起始点
|
CT_AxialShd |
setEndPoint(ST_Pos endPoint)
【必选 属性】
设置 轴线结束点
|
CT_AxialShd |
setExtend(Extend extend)
|
CT_AxialShd |
setMapType(MapType mapType)
【可选 属性】
设置 渐变绘制的方式
可选值参考
MapType |
CT_AxialShd |
setMapUnit(Double mapUnit)
【可选 属性】
设置 轴线一个渐变区间的长度
当 MapType 的值不等于 Direct 时出现
默认值为轴线长度
|
CT_AxialShd |
setStartPoint(ST_Pos startPoint)
【必选 属性】
设置 轴线起始点
|
addOFDEntity, getElements, getInstance, getObjID, getOFDElement, getOFDElement, getOFDElements, getOFDElementText, getQualifiedName, removeAll, removeAttr, removeOFDElemByNames, set, setObjID, setObjID, setOFDEntity, setOFDNameaccept, add, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addElement, addElement, addEntity, additionalNamespaces, addNamespace, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, appendContent, asXML, asXPathResult, attribute, attribute, attribute, attributeCount, attributeIterator, attributes, attributeValue, attributeValue, attributeValue, attributeValue, clearContent, clone, content, createCopy, createCopy, createCopy, createXPath, declaredNamespaces, detach, element, element, elementByID, elementIterator, elementIterator, elementIterator, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, equals, getData, getDocument, getName, getNamespace, getNamespaceForPrefix, getNamespaceForURI, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getNodeTypeName, getParent, getPath, getPath, getProxy, getQName, getQName, getStringValue, getText, getTextTrim, getUniquePath, getUniquePath, getXPathResult, hasContent, hasMixedContent, indexOf, isReadOnly, isRootElement, isTextOnly, matches, node, nodeCount, nodeIterator, normalize, numberValueOf, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeProcessingInstruction, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setAttributes, setAttributeValue, setAttributeValue, setContent, setData, setDocument, setName, setParent, setProcessingInstructions, setProxy, setQName, setText, supportsParent, valueOf, writefinalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstanceadd, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addEntity, additionalNamespaces, addNamespace, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, attribute, attribute, attribute, attributeCount, attributeIterator, attributes, attributeValue, attributeValue, attributeValue, attributeValue, createCopy, createCopy, createCopy, declaredNamespaces, element, element, elementIterator, elementIterator, elementIterator, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, getData, getNamespace, getNamespaceForPrefix, getNamespaceForURI, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getQName, getQName, getQualifiedName, getStringValue, getText, getTextTrim, getXPathResult, hasMixedContent, isRootElement, isTextOnly, remove, remove, remove, remove, remove, setAttributes, setAttributeValue, setAttributeValue, setData, setQNameadd, add, add, add, addElement, addElement, addElement, appendContent, clearContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, removeProcessingInstruction, setContent, setProcessingInstructionsaccept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, writepublic CT_AxialShd(org.dom4j.Element proxy)
public CT_AxialShd()
protected CT_AxialShd(String name)
public CT_AxialShd setMapType(MapType mapType)
可选值参考MapType
mapType - 绘制方向public CT_AxialShd setMapUnit(Double mapUnit)
当 MapType 的值不等于 Direct 时出现
默认值为轴线长度
mapUnit - 轴线一个渐变区间的长度public Double getMapUnit()
当 MapType 的值不等于 Direct 时出现
默认值为轴线长度
public CT_AxialShd setExtend(Extend extend)
extend - 轴线延长线方向是否继续绘制public Extend getExtend()
默认值为 Extend._0 不向两侧继续绘制渐变
Extendpublic CT_AxialShd setStartPoint(ST_Pos startPoint)
startPoint - 轴线起始点public ST_Pos getStartPoint()
public CT_AxialShd setEndPoint(ST_Pos endPoint)
endPoint - 轴线结束点public ST_Pos getEndPoint()
public CT_AxialShd addSegment(Segment segment)
segment - 段Copyright © 2021. All rights reserved.