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.ddf
Class EscherRGBProperty

    java.lang.Object
      org.apache.poi.ddf.EscherProperty
          org.apache.poi.ddf.EscherSimpleProperty
              org.apache.poi.ddf.EscherRGBProperty

    public class EscherRGBProperty

extends EscherSimpleProperty

A color property.

Constructor Summary
`EscherRGBProperty(short propertyNumber, int rgbColor)`

Method Summary
`byte` | `getBlue()`
`byte` | `getGreen()`
`byte` | `getRed()`
`int` | `getRgbColor()`
`java.lang.String` | `toXml(java.lang.String tab)`

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`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### EscherRGBProperty

    public EscherRGBProperty(short propertyNumber,
                             int rgbColor)

Method Detail

### 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

    public java.lang.String toXml(java.lang.String tab)

  Overrides:
    `toXml` in class `EscherSimpleProperty`

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.