Package org.apache.poi.ddf
Class EscherRGBProperty
java.lang.Object
org.apache.poi.ddf.EscherProperty
org.apache.poi.ddf.EscherSimpleProperty
org.apache.poi.ddf.EscherRGBProperty
A color property.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.poi.ddf.EscherSimpleProperty
equals, getPropertyValue, hashCode, serializeComplexPart, serializeSimplePart, toString
Methods inherited from class org.apache.poi.ddf.EscherProperty
getId, getName, getPropertyNumber, getPropertySize, isBlipId, isComplex
-
Constructor Details
-
EscherRGBProperty
public EscherRGBProperty(short propertyNumber, int rgbColor)
-
-
Method Details
-
getRgbColor
public int getRgbColor()- Returns:
- the rgb color as int value
-
getRed
public byte getRed()- Returns:
- the red part
-
getGreen
public byte getGreen()- Returns:
- the green part
-
getBlue
public byte getBlue()- Returns:
- the blue part
-
toXml
- Overrides:
toXml
in classEscherSimpleProperty
-