CalRGBColorSpace
CalRGBColorSpace
Összefoglaló
CalRGBColorSpace egy osztály a Aspose.PDF FOSS-ben Java számára. Az alábbiakból örökölődik: ゚ColorSpaceBase` .
A CalRGB színtér (ISO 32000-1:2008, 8.6.5.3. bekezdés).
Ez a osztály 6 módszert kínál a CalRGBColorSpace objektumokkal való munkavégzéshez Java programokban. A rendelkezésre álló módszerek közé tartozik: CalR GColurSpace, ̋getName , ∂getNumberOfComponents,, ⌒resolve,. ゙to RGB., ゚toRgBInt` . Minden nyilvános tag hozzáférhető bármely Java alkalmazáshoz az Aspose.PDF FOSS for Java csomag telepítése után. tulajdonságai: ¬¤név ̈, ¬¶szám ofComponent ̈.
A tulajdonságok
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | Gets the name. |
numberOfComponents | int | Read | Gets the number of components. |
Módszerek
| Signature | Description |
|---|---|
CalRGBColorSpace(params: PdfDictionary) | Creates a CalRGB color space from its parameter dictionary. |
toRGB(r: double, g: double, b: double) → double[] | Converts CalRGB values (each 0..1) to sRGB components. |
getName() → String | Returns the name. |
getNumberOfComponents() → int | Returns the number of components. |
toRGBInt(comps: double[]) → int | CalRGB -> sRGB via gamma + XYZ matrix. |
resolve(csObj: PdfBase, resources: Resources, parser: PDFParser) → ColorSpaceBase |
Lásd még:
- Aspose.PDF a Java Enterprise API referenciára