Package | org.purepdf.colors |
Class | public class SpotColor |
Inheritance | SpotColor ExtendedColor RGBColor it.sephiroth.utils.ObjectHash |
Property | Defined By | ||
---|---|---|---|
alpha : int [read-only] | RGBColor | ||
blue : int [read-only] | RGBColor | ||
green : int [read-only] | RGBColor | ||
pdfSpotColor : PdfSpotColor [read-only] | SpotColor | ||
red : int [read-only] | RGBColor | ||
rgb : int [read-only] | RGBColor | ||
tint : Number [read-only] | SpotColor | ||
type : int [read-only] | ExtendedColor |
Method | Defined By | ||
---|---|---|---|
SpotColor($spot:PdfSpotColor, $tint:Number) | SpotColor | ||
RGBColor | |||
equals(obj:Object):Boolean [override] | SpotColor | ||
[static] | RGBColor | ||
[static] | ExtendedColor | ||
hashCode():int [override] | SpotColor | ||
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 |
pdfSpotColor | property |
pdfSpotColor:PdfSpotColor
[read-only] public function get pdfSpotColor():PdfSpotColor
tint | property |
tint:Number
[read-only] public function get tint():Number
SpotColor | () | Constructor |
public function SpotColor($spot:PdfSpotColor, $tint:Number)
$spot:PdfSpotColor | |
$tint:Number |
equals | () | method |
override public function equals(obj:Object):Boolean
Parameters
obj:Object |
Boolean |
hashCode | () | method |
override public function hashCode():int
Returnsint |