|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pdfclown.objects.PdfObjectWrapper<TDataObject> org.pdfclown.documents.contents.colorSpaces.Color<PdfArray> org.pdfclown.documents.contents.colorSpaces.LeveledColor org.pdfclown.documents.contents.colorSpaces.DeviceColor org.pdfclown.documents.contents.colorSpaces.DeviceCMYKColor
@PDF(value=PDF11) public final class DeviceCMYKColor
Device Cyan-Magenta-Yellow-Key color value [PDF:1.6:4.5.3].
The 'Key' component is renamed 'Black' to avoid semantic ambiguities.
Field Summary | |
---|---|
static DeviceCMYKColor |
Black
|
static DeviceCMYKColor |
Default
|
static DeviceCMYKColor |
White
|
Constructor Summary | |
---|---|
DeviceCMYKColor(double c,
double m,
double y,
double k)
|
Method Summary | |
---|---|
Object |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
static DeviceCMYKColor |
get(PdfArray components)
Gets the color corresponding to the specified components. |
double |
getC()
Gets the cyan component. |
double |
getK()
Gets the black (key) component. |
double |
getM()
Gets the magenta component. |
double |
getY()
Gets the yellow component. |
void |
setC(double value)
|
void |
setK(double value)
|
void |
setM(double value)
|
void |
setY(double value)
|
Methods inherited from class org.pdfclown.documents.contents.colorSpaces.LeveledColor |
---|
equals, getComponents, getComponentValue, hashCode, setComponentValue |
Methods inherited from class org.pdfclown.documents.contents.colorSpaces.Color |
---|
getColorSpace, normalizeComponent |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, delete, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DeviceCMYKColor Black
public static final DeviceCMYKColor White
public static final DeviceCMYKColor Default
Constructor Detail |
---|
public DeviceCMYKColor(double c, double m, double y, double k)
Method Detail |
---|
public static DeviceCMYKColor get(PdfArray components)
components
- Color components to convert.public Object clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfArray>
context
- Which document the clone has to be registered in.public double getC()
public double getK()
public double getM()
public double getY()
public void setC(double value)
getC()
public void setK(double value)
getK()
public void setM(double value)
getM()
public void setY(double value)
getY()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |