Class EscherRGBProperty

All Implemented Interfaces:
GenericRecord

public class EscherRGBProperty extends EscherSimpleProperty
A color property.
  • Constructor Details

    • EscherRGBProperty

      public EscherRGBProperty(short propertyNumber, int rgbColor)
      Create an instance of an escher boolean property.
      Parameters:
      propertyNumber - The property number (or id)
      rgbColor - The 24 bit value of this rgb property
    • EscherRGBProperty

      public EscherRGBProperty(EscherPropertyTypes propertyType, int rgbColor)
      Create an instance of an escher boolean property.
      Parameters:
      propertyType - one of the defined property types
      rgbColor - The 24 bit value of this rgb property
  • 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