Class EscherRGBProperty

    • Constructor Detail

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