| FoxitPDFSDKforWeb v11.0.4
    
    Foxit PDF SDK for Web | 
Class for processing color-related algorithms such as conversions. More...
| Public Member Functions | |
| asArray () | |
| Convert this Color instance into an array with four channel values R,G,B,A.  More... | |
| clone () | |
| Clones an identical object.  More... | |
| isSameAs (other:Color) | |
| Check if this color is the same as another color instance.  More... | |
| toCMYK () | |
| Convert R,G,B values to CMYK representation model.  More... | |
| toHSL () | |
| Convert R,G,B values to HSL representation model.  More... | |
| toHSV () | |
| Convert into HSV representation model.  More... | |
| Static Public Member Functions | |
| static | fromARGB (argb:number) | 
| Create Color instance from ARGB values (such as: 0xFFFFFF).  More... | |
| static | fromHSLA (h:number, s:number, l:number, a:number) | 
| Create Color instance using HSL representation model.  More... | |
| static | fromRGB (rgb:number) | 
| Create Color instance from RGB values (such as: 0xFFFFFF).  More... | |
| static | fromRGBA (rgb:number, a:number) | 
| Create Color instance from RGB values (such as: 0xFFFFFF) and separately specified alpha values.  More... | |
Class for processing color-related algorithms such as conversions.
| 
 | inline | 
Convert this Color instance into an array with four channel values R,G,B,A.
| 
 | inline | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
Create Color instance using HSL representation model.
| h | number - The hue channel, the value is between 0 and 360 (inclusive). | 
| s | number - The saturation channel, the value is between 0 and 100 (inclusive). | 
| l | number - The lightness channel, the value is between 0 and 100 (inclusive). | 
| a | number - The alpha channel, the value is between 0 and 255 (inclusive). | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | inline | 
| 
 | inline | 
Convert R,G,B values to CMYK representation model.
| 
 | inline | 
Convert R,G,B values to HSL representation model.
| 
 | inline | 
Convert into HSV representation model.