FileDocCategorySizeDatePackage
EscherRGBProperty.javaAPI DocApache Poi 3.0.11601Mon Jan 01 12:39:40 GMT 2007org.apache.poi.ddf

EscherRGBProperty

public class EscherRGBProperty extends EscherSimpleProperty
A color property.
author
Glen Stampoultzis (glens at apache.org)

Fields Summary
Constructors Summary
public EscherRGBProperty(short propertyNumber, int rgbColor)

        super( propertyNumber, rgbColor );
    
Methods Summary
public bytegetBlue()

        return (byte) ( (propertyValue >> 16) & 0xFF );
    
public bytegetGreen()

        return (byte) ( (propertyValue >> 8) & 0xFF );
    
public bytegetRed()

        return (byte) ( propertyValue & 0xFF );
    
public intgetRgbColor()

        return propertyValue;