Package | org.purepdf.colors |
Class | public class ExtendedColor |
Inheritance | ExtendedColor RGBColor it.sephiroth.utils.ObjectHash |
Subclasses | CMYKColor, GrayColor, PatternColor, ShadingColor, SpotColor |
Property | Defined By | ||
---|---|---|---|
alpha : int [read-only] | RGBColor | ||
blue : int [read-only] | RGBColor | ||
green : int [read-only] | RGBColor | ||
red : int [read-only] | RGBColor | ||
rgb : int [read-only] | RGBColor | ||
type : int [read-only] | ExtendedColor |
Property | Defined By | ||
---|---|---|---|
_type : int | ExtendedColor |
Method | Defined By | ||
---|---|---|---|
ExtendedColor($type:int) | ExtendedColor | ||
RGBColor | |||
equals(obj:Object):Boolean [override] | RGBColor | ||
[static] | RGBColor | ||
[static] | ExtendedColor | ||
hashCode():int [override] | RGBColor | ||
normalize(value:Number):Number [static] | ExtendedColor | ||
setValue(red:int = 0, green:int = 0, blue:int = 0, alpha:int = 255):void | RGBColor | ||
validate(color:int):void | RGBColor |
Constant | Defined By | ||
---|---|---|---|
BLACK : RGBColor [static] | RGBColor | ||
BLUE : RGBColor [static] | RGBColor | ||
CYAN : RGBColor [static] | RGBColor | ||
DARK_GRAY : RGBColor [static] | RGBColor | ||
GRAY : RGBColor [static] | RGBColor | ||
GREEN : RGBColor [static] | RGBColor | ||
LIGHT_GRAY : RGBColor [static] | RGBColor | ||
MAGENTA : RGBColor [static] | RGBColor | ||
ORANGE : RGBColor [static] | RGBColor | ||
PINK : RGBColor [static] | RGBColor | ||
RED : 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 | ||
WHITE : RGBColor [static] | RGBColor | ||
YELLOW : RGBColor [static] | RGBColor |
_type | property |
protected var _type:int
type | property |
type:int
[read-only] public function get type():int
ExtendedColor | () | Constructor |
public function ExtendedColor($type:int)
$type:int |
getType | () | method |
normalize | () | method |
public static function normalize(value:Number):Number
Parameters
value:Number |
Number |
TYPE_CMYK | Constant |
public static const TYPE_CMYK:int = 2
TYPE_GRAY | Constant |
public static const TYPE_GRAY:int = 1
TYPE_PATTERN | Constant |
public static const TYPE_PATTERN:int = 4
TYPE_RGB | Constant |
public static const TYPE_RGB:int = 0
TYPE_SEPARATION | Constant |
public static const TYPE_SEPARATION:int = 3
TYPE_SHADING | Constant |
public static const TYPE_SHADING:int = 5