public class Area extends OFDElement
用一个图形或文字对象来描述裁剪区的一个组成部分, 最终裁剪区是这些区域的并集。
8.4 裁剪区 表 33
proxy| 限定符和类型 | 方法和说明 |
|---|---|
ClipAble |
getClipObj()
【必选】
获取 裁剪对象
裁剪对象可以是 CT_Text、CT_Path
|
ST_Array |
getCTM()
【可选 属性】
获取 变换矩阵
针对对象坐标系,对Area下包含的 Path 和 Text 进行进一步的变换
|
ST_RefID |
getDrawParam()
【可选 属性】
获取 引用资源文件中的绘制参数的标识
线宽、结合点和端点样式等绘制特性对裁剪效果会产生影响,
有关绘制参数的描述见 8.2
|
Area |
setClipObj(ClipAble clipObj)
【必选】
设置 裁剪对象
裁剪对象可以是 CT_Text、CT_Path
|
Area |
setCTM(ST_Array ctm)
【可选 属性】
设置 变换矩阵
针对对象坐标系,对Area下包含的 Path 和 Text 进行进一步的变换
|
Area |
setDrawParam(ST_RefID drawParam)
【可选 属性】
设置 引用资源文件中的绘制参数的标识
线宽、结合点和端点样式等绘制特性对裁剪效果会产生影响,
有关绘制参数的描述见 8.2
|
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, writepublic Area setDrawParam(ST_RefID drawParam)
线宽、结合点和端点样式等绘制特性对裁剪效果会产生影响, 有关绘制参数的描述见 8.2
drawParam - 引用资源文件中的绘制参数的标识public ST_RefID getDrawParam()
线宽、结合点和端点样式等绘制特性对裁剪效果会产生影响, 有关绘制参数的描述见 8.2
public Area setCTM(ST_Array ctm)
针对对象坐标系,对Area下包含的 Path 和 Text 进行进一步的变换
ctm - 变换矩阵public ST_Array getCTM()
针对对象坐标系,对Area下包含的 Path 和 Text 进行进一步的变换
public Area setClipObj(ClipAble clipObj)
裁剪对象可以是 CT_Text、CT_Path
clipObj - 裁剪对象public ClipAble getClipObj()
裁剪对象可以是 CT_Text、CT_Path
Copyright © 2021. All rights reserved.