Packageorg.purepdf.colors
Classpublic class GrayColor
InheritanceGrayColor Inheritance ExtendedColor Inheritance RGBColor Inheritance it.sephiroth.utils.ObjectHash



Public Properties
 PropertyDefined By
 Inheritedalpha : int
[read-only]
RGBColor
 Inheritedblue : int
[read-only]
RGBColor
  gray : Number
GrayColor
 Inheritedgreen : int
[read-only]
RGBColor
 Inheritedred : int
[read-only]
RGBColor
 Inheritedrgb : int
[read-only]
RGBColor
 Inheritedtype : int
[read-only]
ExtendedColor
Protected Properties
 PropertyDefined By
 Inherited_type : int
ExtendedColor
Public Methods
 MethodDefined By
  
GrayColor(value:Number)
Example: var color1: GrayColor = new GrayColor( 1.0 ); // create a white color;
GrayColor
 Inherited
RGBColor
 Inherited
equals(obj:Object):Boolean
[override]
RGBColor
 Inherited
fromARGB(value:int):RGBColor
[static]
RGBColor
 Inherited
getType(color:RGBColor):int
[static]
ExtendedColor
  
hashCode():int
[override]
GrayColor
 Inherited
normalize(value:Number):Number
[static]
ExtendedColor
 Inherited
setValue(red:int = 0, green:int = 0, blue:int = 0, alpha:int = 255):void
RGBColor
 Inherited
validate(color:int):void
RGBColor
Public Constants
 ConstantDefined By
 InheritedBLACK : RGBColor
[static]
RGBColor
 InheritedBLUE : RGBColor
[static]
RGBColor
 InheritedCYAN : RGBColor
[static]
RGBColor
 InheritedDARK_GRAY : RGBColor
[static]
RGBColor
 InheritedGRAY : RGBColor
[static]
RGBColor
  GRAYBLACK : GrayColor
[static]
GrayColor
  GRAYWHITE : GrayColor
[static]
GrayColor
 InheritedGREEN : RGBColor
[static]
RGBColor
 InheritedLIGHT_GRAY : RGBColor
[static]
RGBColor
 InheritedMAGENTA : RGBColor
[static]
RGBColor
 InheritedORANGE : RGBColor
[static]
RGBColor
 InheritedPINK : RGBColor
[static]
RGBColor
 InheritedRED : RGBColor
[static]
RGBColor
 InheritedTYPE_CMYK : int = 2
[static]
ExtendedColor
 InheritedTYPE_GRAY : int = 1
[static]
ExtendedColor
 InheritedTYPE_PATTERN : int = 4
[static]
ExtendedColor
 InheritedTYPE_RGB : int = 0
[static]
ExtendedColor
 InheritedTYPE_SEPARATION : int = 3
[static]
ExtendedColor
 InheritedTYPE_SHADING : int = 5
[static]
ExtendedColor
 InheritedWHITE : RGBColor
[static]
RGBColor
 InheritedYELLOW : RGBColor
[static]
RGBColor
Property Detail
grayproperty
gray:Number


Implementation
    public function get gray():Number
    public function set gray(value:Number):void
Constructor Detail
GrayColor()Constructor
public function GrayColor(value:Number)

Example: var color1: GrayColor = new GrayColor( 1.0 ); // create a white color;

Parameters
value:Number
Method Detail
hashCode()method
override public function hashCode():int

Returns
int
Constant Detail
GRAYBLACKConstant
public static const GRAYBLACK:GrayColor

GRAYWHITEConstant 
public static const GRAYWHITE:GrayColor