public class CV extends OFDElement
调色板中颜色的索引编号从 0 开始
8.3 颜色 表 25
proxy| 构造器和说明 |
|---|
CV() |
CV(org.dom4j.Element proxy) |
CV(ST_Array color)
颜色表示:
Gray - 通过一个通道来表明灰度值;例如 "#FF 255"
RGB - 包含3个通道,一次是红、绿、蓝;例如 "#11 #22 #33"、"17 34 51"
CMYK - 包含4个通道,依次是青、黄、品红、黑;例如 "#11 #22 #33 # 44"、"17 34 51 68"
|
| 限定符和类型 | 方法和说明 |
|---|---|
ST_Array |
getColor()
获取 预定义的颜色
颜色表示:
Gray - 通过一个通道来表明灰度值;例如 "#FF 255"
RGB - 包含3个通道,一次是红、绿、蓝;例如 "#11 #22 #33"、"17 34 51"
CMYK - 包含4个通道,依次是青、黄、品红、黑;例如 "#11 #22 #33 # 44"、"17 34 51 68"
|
CV |
setColor(ST_Array value)
设置 预定义的颜色
颜色表示:
Gray - 通过一个通道来表明灰度值;例如 "#FF 255"
RGB - 包含3个通道,一次是红、绿、蓝;例如 "#11 #22 #33"、"17 34 51"
CMYK - 包含4个通道,依次是青、黄、品红、黑;例如 "#11 #22 #33 # 44"、"17 34 51 68"
|
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 CV(org.dom4j.Element proxy)
public CV()
public CV(ST_Array color)
Gray - 通过一个通道来表明灰度值;例如 "#FF 255"
RGB - 包含3个通道,一次是红、绿、蓝;例如 "#11 #22 #33"、"17 34 51"
CMYK - 包含4个通道,依次是青、黄、品红、黑;例如 "#11 #22 #33 # 44"、"17 34 51 68"
color - 设置预定义的颜色public CV setColor(ST_Array value)
颜色表示:
Gray - 通过一个通道来表明灰度值;例如 "#FF 255"
RGB - 包含3个通道,一次是红、绿、蓝;例如 "#11 #22 #33"、"17 34 51"
CMYK - 包含4个通道,依次是青、黄、品红、黑;例如 "#11 #22 #33 # 44"、"17 34 51 68"
value - 设置预定义的颜色public ST_Array getColor()
颜色表示:
Gray - 通过一个通道来表明灰度值;例如 "#FF 255"
RGB - 包含3个通道,一次是红、绿、蓝;例如 "#11 #22 #33"、"17 34 51"
CMYK - 包含4个通道,依次是青、黄、品红、黑;例如 "#11 #22 #33 # 44"、"17 34 51 68"
Copyright © 2021. All rights reserved.