org.apache.fop.pdf
Class PDFColor

org.apache.fop.pdf.PDFObject
  |
  +--org.apache.fop.pdf.PDFPathPaint
        |
        +--org.apache.fop.pdf.PDFColor

public class PDFColor
extends PDFPathPaint


Constructor Summary
PDFColor(org.apache.fop.datatypes.ColorType theColor)
           
PDFColor(double theRed, double theGreen, double theBlue)
           
PDFColor(int theRed, int theGreen, int theBlue)
           
PDFColor(double theCyan, double theMagenta, double theYellow, double theBlack)
           

Method Summary
 doubleblack()
           
 doubleblue()
           
 intblue255()
           
 doublecyan()
           
 StringgetColorSpaceOut(boolean fillNotStroke)
           
 VectorgetVector()
           
 doublegreen()
           
 intgreen255()
           
 doublemagenta()
           
 doublered()
           
 intred255()
           
 voidsetColorSpace(int theColorSpace)
           
 (package private) byte[]toPDF()
           
 doubleyellow()
           

Methods inherited from class org.apache.fop.pdf.PDFPathPaint
getColorSpace

Methods inherited from class org.apache.fop.pdf.PDFObject
getNumber, referencePDF

Constructor Detail

PDFColor

public PDFColor(org.apache.fop.datatypes.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)
Method Detail

black

public double black()

blue

public double blue()

blue255

public int blue255()

cyan

public double cyan()

getColorSpaceOut

public String getColorSpaceOut(boolean fillNotStroke)

getVector

public Vector getVector()

green

public double green()

green255

public int green255()

magenta

public double magenta()

red

public double red()

red255

public int red255()

setColorSpace

public void setColorSpace(int theColorSpace)

toPDF

byte[] toPDF()

yellow

public double yellow()

Association Links

to Class org.apache.fop.pdf.PDFNumber