|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.core.pobjects.Dictionary
org.icepdf.core.pobjects.graphics.PColorSpace
org.icepdf.core.pobjects.graphics.DeviceCMYK
public class DeviceCMYK
Device CMYK colour space definitions. The primary purpose of this colour space is to convert cymk colours to rgb. No ICC profile is used in this process and the generated rgb colour is just and approximation.
| Field Summary |
|---|
| Fields inherited from class org.icepdf.core.pobjects.Dictionary |
|---|
entries, inited, isDeleted, isNew, library, SUBTYPE_KEY, TYPE_KEY |
| Method Summary | |
|---|---|
java.awt.Color |
getColor(float[] f)
Converts a 4 component cmyk colour to rgb. |
int |
getNumComponents()
|
| Methods inherited from class org.icepdf.core.pobjects.graphics.PColorSpace |
|---|
getColorSpace, getColorSpace, getDescription, normaliseComponentsToFloats, reverse, reverseInPlace, reverseInPlace |
| Methods inherited from class org.icepdf.core.pobjects.Dictionary |
|---|
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getNumComponents()
getNumComponents in class PColorSpacepublic java.awt.Color getColor(float[] f)
getColor in class PColorSpacef - 4 component values of the cmyk, assumes compoents between
0.0 and 1.0
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||