Package org.apache.poi.hwmf.record
Class HwmfColorRef
java.lang.Object
org.apache.poi.hwmf.record.HwmfColorRef
- All Implemented Interfaces:
Cloneable
A 32-bit ColorRef Object that defines the color value.
Red (1 byte): An 8-bit unsigned integer that defines the relative intensity of red.
Green (1 byte): An 8-bit unsigned integer that defines the relative intensity of green.
Blue (1 byte): An 8-bit unsigned integer that defines the relative intensity of blue.
Reserved (1 byte): An 8-bit unsigned integer that MUST be 0x00.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a new object of the same class and with the same contents as this object.getColor()
int
init
(LittleEndianInputStream leis)
-
Constructor Details
-
HwmfColorRef
public HwmfColorRef() -
HwmfColorRef
-
-
Method Details
-
init
- Throws:
IOException
-
getColor
-
clone
Creates a new object of the same class and with the same contents as this object.- Overrides:
clone
in classObject
- Returns:
- a clone of this instance.
- Throws:
OutOfMemoryError
- if there is not enough memory.- See Also:
-