Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.hwmf.record
Class HwmfColorRef

    java.lang.Object
      org.apache.poi.hwmf.record.HwmfColorRef

All Implemented Interfaces:
  java.lang.Cloneable

    public class HwmfColorRef

extends java.lang.Object
implements java.lang.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
`HwmfColorRef()`
`HwmfColorRef(java.awt.Color colorRef)`

Method Summary
`HwmfColorRef` | `clone()` Creates a new object of the same class and with the same contents as this object.
`java.awt.Color` | `getColor()`
`int` | `init(LittleEndianInputStream leis)`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HwmfColorRef

    public HwmfColorRef()

### HwmfColorRef

    public HwmfColorRef(java.awt.Color colorRef)

Method Detail

### init

    public int init(LittleEndianInputStream leis)
             throws java.io.IOException

  Throws:
    `java.io.IOException`

### getColor

    public java.awt.Color getColor()

### clone

    public HwmfColorRef clone()

  Creates a new object of the same class and with the same contents as this object.

  Overrides:
    `clone` in class `java.lang.Object`
  Returns:
    a clone of this instance.
  Throws:
    `java.lang.OutOfMemoryError` - if there is not enough memory.
  See Also:
    `Cloneable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.