Package org.apache.poi.hwmf.record
Class HwmfColorRef
java.lang.Object
org.apache.poi.hwmf.record.HwmfColorRef
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
public class HwmfColorRef
extends Object
implements org.apache.poi.common.Duplicatable, GenericRecord
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 TypeMethodDescriptioncopy()getColor()intinit(LittleEndianInputStream leis) voidtoString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Constructor Details
-
HwmfColorRef
public HwmfColorRef() -
HwmfColorRef
-
HwmfColorRef
-
-
Method Details
-
init
- Throws:
IOException
-
getColor
-
setColor
-
copy
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable
-
toString
-
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-