Packageorg.purepdf.colors
Classpublic class CMYKColor
InheritanceCMYKColor Inheritance ExtendedColor Inheritance RGBColor Inheritance it.sephiroth.utils.ObjectHash



Public Properties
 PropertyDefined By
 Inheritedalpha : int
[read-only]
RGBColor
  black : Number
[read-only]
CMYKColor
 Inheritedblue : int
[read-only]
RGBColor
  cyan : Number
[read-only]
CMYKColor
 Inheritedgreen : int
[read-only]
RGBColor
  magenta : Number
[read-only]
CMYKColor
 Inheritedred : int
[read-only]
RGBColor
 Inheritedrgb : int
[read-only]
RGBColor
 Inheritedtype : int
[read-only]
ExtendedColor
  yellow : Number
[read-only]
CMYKColor
Protected Properties
 PropertyDefined By
 Inherited_type : int
ExtendedColor
Public Methods
 MethodDefined By
  
CMYKColor(floatCyan:Number, floatMagenta:Number, floatYellow:Number, floatBlack:Number)
Construct a CMYK Color.
CMYKColor
 Inherited
RGBColor
  
equals(obj:Object):Boolean
[override]
CMYKColor
 Inherited
fromARGB(value:int):RGBColor
[static]
RGBColor
 Inherited
getType(color:RGBColor):int
[static]
ExtendedColor
  
hashCode():int
[override]
CMYKColor
 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
 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
blackproperty
black:Number  [read-only]


Implementation
    public function get black():Number
cyanproperty 
cyan:Number  [read-only]


Implementation
    public function get cyan():Number
magentaproperty 
magenta:Number  [read-only]


Implementation
    public function get magenta():Number
yellowproperty 
yellow:Number  [read-only]


Implementation
    public function get yellow():Number
Constructor Detail
CMYKColor()Constructor
public function CMYKColor(floatCyan:Number, floatMagenta:Number, floatYellow:Number, floatBlack:Number)

Construct a CMYK Color.

Parameters
floatCyan:Number — Number bewteen 0 and 1
 
floatMagenta:Number — Number bewteen 0 and 1
 
floatYellow:Number — Number bewteen 0 and 1
 
floatBlack:Number — Number bewteen 0 and 1
Method Detail
equals()method
override public function equals(obj:Object):Boolean

Parameters

obj:Object

Returns
Boolean
hashCode()method 
override public function hashCode():int

Returns
int