org.apache.fop.pdf
Class PDFColor
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFPathPaint
org.apache.fop.pdf.PDFColor
- public class PDFColor
- extends PDFPathPaint
Constructor Summary |
PDFColor(ColorType theColor)
|
PDFColor(double theRed,
double theGreen,
double theBlue)
|
PDFColor(double theCyan,
double theMagenta,
double theYellow,
double theBlack)
|
PDFColor(int theRed,
int theGreen,
int theBlue)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blackFactor
protected static double blackFactor
red
protected double red
green
protected double green
blue
protected double blue
cyan
protected double cyan
magenta
protected double magenta
yellow
protected double yellow
black
protected double black
PDFColor
public PDFColor(ColorType theColor)
PDFColor
public PDFColor(double theRed,
double theGreen,
double theBlue)
PDFColor
public PDFColor(int theRed,
int theGreen,
int theBlue)
PDFColor
public PDFColor(double theCyan,
double theMagenta,
double theYellow,
double theBlack)
getVector
public java.util.ArrayList getVector()
red
public double red()
green
public double green()
blue
public double blue()
red255
public int red255()
green255
public int green255()
blue255
public int blue255()
cyan
public double cyan()
magenta
public double magenta()
yellow
public double yellow()
black
public double black()
setColorSpace
public void setColorSpace(int theColorSpace)
- Overrides:
setColorSpace
in class PDFPathPaint
getColorSpaceOut
public java.lang.String getColorSpaceOut(boolean fillNotStroke)
- Overrides:
getColorSpaceOut
in class PDFPathPaint
convertCMYKtoRGB
protected void convertCMYKtoRGB()
convertRGBtoCMYK
protected void convertRGBtoCMYK()
convertGRAYtoRGB
protected void convertGRAYtoRGB()
convertGRAYtoCMYK
protected void convertGRAYtoCMYK()
convertCMYKtoGRAY
protected void convertCMYKtoGRAY()
convertRGBtoGRAY
protected void convertRGBtoGRAY()
equals
public boolean equals(java.lang.Object obj)
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.