public class CT_Path extends CT_GraphicUnit<CT_Path> implements ClipAble
图形对象具有一般图元的一切属性和行为特征。
9.1 图形对象 图 46 表 35
proxy| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAbbreviatedData()
【必选】
获取 图形轮廓数据
由一系列紧缩的操作符和操作数构成
|
AbbreviatedData |
getAbbreviatedDataEle()
【必选】
获取 图形轮廓数据对象
由一系列紧缩的操作符和操作数构成
|
Boolean |
getFill()
【可选 属性】
获取 图形是否被填充
|
CT_Color |
getFillColor()
【可选】
获取 填充颜色
默认为透明色
|
Rule |
getRule()
【可选 属性】
获取 图形的填充规则
当 Fill 属性存在时出现,可选值参考
Rule
默认值为 NonZero |
Boolean |
getStroke()
【可选 属性】
获取 图形是否被沟边
|
StrokeColor |
getStrokeColor()
【可选】
获取 沟边颜色
默认为黑色
|
CT_Path |
setAbbreviatedData(AbbreviatedData abbreviatedData)
【必选】
设置 图形轮廓数据
由一系列紧缩的操作符和操作数构成
|
CT_Path |
setFill(Boolean fill)
【可选 属性】
设置 图形是否被填充
|
CT_Path |
setFillColor(CT_Color fillColor)
【可选】
设置 填充颜色
默认为透明色
|
CT_Path |
setRule(Rule rule)
【可选 属性】
设置 图形的填充规则
当 Fill 属性存在时出现,可选值参考
Rule
默认值为 NonZero |
CT_Path |
setStroke(Boolean stroke)
【可选 属性】
设置 图形是否被沟边
|
CT_Path |
setStrokeColor(CT_Color strokeColor)
【可选】
设置 沟边颜色
默认为黑色
|
PathObject |
toObj(ST_ID id)
构造路径对象
|
getActions, getAlpha, getBoundary, getCap, getClips, getCTM, getDashOffset, getDashPattern, getDrawParam, getGraphicName, getJoin, getLineWidth, getMiterLimit, getVisible, setActions, setAlpha, setBoundary, setBoundary, setCap, setClips, setCTM, setDashOffset, setDashPattern, setDrawParam, setGraphicName, setJoin, setLineWidth, setMiterLimit, setVisibleaddOFDEntity, 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_Path(org.dom4j.Element proxy)
public CT_Path()
protected CT_Path(String name)
public PathObject toObj(ST_ID id)
id - 对象IDpublic CT_Path setStroke(Boolean stroke)
stroke - true - 沟边;false - 不勾边public Boolean getStroke()
public CT_Path setFill(Boolean fill)
fill - true - 填充; false - 不填充public Boolean getFill()
public CT_Path setRule(Rule rule)
当 Fill 属性存在时出现,可选值参考 Rule
默认值为 NonZero
rule - 图形的填充规则public CT_Path setStrokeColor(CT_Color strokeColor)
默认为黑色
strokeColor - 沟边颜色,颜色定义请参考 8.3.2 基本颜色public StrokeColor getStrokeColor()
默认为黑色
public CT_Path setFillColor(CT_Color fillColor)
默认为透明色
fillColor - 填充颜色,颜色定义请参考 8.3.2 基本颜色public CT_Color getFillColor()
默认为透明色
public CT_Path setAbbreviatedData(AbbreviatedData abbreviatedData)
由一系列紧缩的操作符和操作数构成
abbreviatedData - 图形轮廓数据public String getAbbreviatedData()
由一系列紧缩的操作符和操作数构成
public AbbreviatedData getAbbreviatedDataEle()
由一系列紧缩的操作符和操作数构成
Copyright © 2021. All rights reserved.