|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.DeviceRGBColor
@PDF(value=PDF11) public final class DeviceRGBColor
Device Red-Green-Blue color value [PDF:1.6:4.5.3].
| Field Summary | |
|---|---|
static DeviceRGBColor |
Black
|
static DeviceRGBColor |
Default
|
static DeviceRGBColor |
White
|
| Constructor Summary | |
|---|---|
DeviceRGBColor(double r,
double g,
double b)
|
|
| Method Summary | |
|---|---|
Object |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
static DeviceRGBColor |
get(Color color)
Gets the color corresponding to the specified system color. |
static DeviceRGBColor |
get(PdfArray components)
Gets the color corresponding to the specified components. |
double |
getB()
Gets the blue component. |
double |
getG()
Gets the green component. |
double |
getR()
Gets the red component. |
void |
setB(double value)
|
void |
setG(double value)
|
void |
setR(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 DeviceRGBColor Black
public static final DeviceRGBColor White
public static final DeviceRGBColor Default
| Constructor Detail |
|---|
public DeviceRGBColor(double r,
double g,
double b)
| Method Detail |
|---|
public static DeviceRGBColor get(PdfArray components)
components - Color components to convert.public static DeviceRGBColor get(Color color)
color - System color 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 getB()
public double getG()
public double getR()
public void setB(double value)
getB()public void setG(double value)
getG()public void setR(double value)
getR()
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||