Packageorg.purepdf.colors
Classpublic class ExtendedColor
InheritanceExtendedColor Inheritance RGBColor Inheritance it.sephiroth.utils.ObjectHash
Subclasses CMYKColor, GrayColor, PatternColor, ShadingColor, SpotColor



Public Properties
 PropertyDefined By
 Inheritedalpha : int
[read-only]
RGBColor
 Inheritedblue : int
[read-only]
RGBColor
 Inheritedgreen : int
[read-only]
RGBColor
 Inheritedred : int
[read-only]
RGBColor
 Inheritedrgb : int
[read-only]
RGBColor
  type : int
[read-only]
ExtendedColor
Protected Properties
 PropertyDefined By
  _type : int
ExtendedColor
Public Methods
 MethodDefined By
  
ExtendedColor($type:int)
ExtendedColor
 Inherited
RGBColor
 Inherited
equals(obj:Object):Boolean
[override]
RGBColor
 Inherited
fromARGB(value:int):RGBColor
[static]
RGBColor
  
getType(color:RGBColor):int
[static]
ExtendedColor
 Inherited
hashCode():int
[override]
RGBColor
  
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
  TYPE_CMYK : int = 2
[static]
ExtendedColor
  TYPE_GRAY : int = 1
[static]
ExtendedColor
  TYPE_PATTERN : int = 4
[static]
ExtendedColor
  TYPE_RGB : int = 0
[static]
ExtendedColor
  TYPE_SEPARATION : int = 3
[static]
ExtendedColor
  TYPE_SHADING : int = 5
[static]
ExtendedColor
 InheritedWHITE : RGBColor
[static]
RGBColor
 InheritedYELLOW : RGBColor
[static]
RGBColor
Property Detail
_typeproperty
protected var _type:int

typeproperty 
type:int  [read-only]


Implementation
    public function get type():int
Constructor Detail
ExtendedColor()Constructor
public function ExtendedColor($type:int)



Parameters
$type:int
Method Detail
getType()method
public static function getType(color:RGBColor):int

Parameters

color:RGBColor

Returns
int
normalize()method 
public static function normalize(value:Number):Number

Parameters

value:Number

Returns
Number
Constant Detail
TYPE_CMYKConstant
public static const TYPE_CMYK:int = 2

TYPE_GRAYConstant 
public static const TYPE_GRAY:int = 1

TYPE_PATTERNConstant 
public static const TYPE_PATTERN:int = 4

TYPE_RGBConstant 
public static const TYPE_RGB:int = 0

TYPE_SEPARATIONConstant 
public static const TYPE_SEPARATION:int = 3

TYPE_SHADINGConstant 
public static const TYPE_SHADING:int = 5