| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.apache.fop.pdf.PDFObject | +--org.apache.fop.pdf.PDFPathPaint | +--org.apache.fop.pdf.PDFPattern
class representing a PDF Function. PDF Functions represent parameterized mathematical formulas and sampled representations with arbitrary resolution. Functions are used in two areas: device-dependent rasterization information for halftoning and transfer functions, and color specification for smooth shading (a PDF 1.3 feature). All PDF Functions have a FunctionType (0,2,3, or 4), a Domain, and a Range.
Constructor Summary | |
PDFPattern(int theNumber, String thePatternName, PDFResources theResources, int thePatternType, int thePaintType, int theTilingType, Vector theBBox, double theXStep, double theYStep, Vector theMatrix, Vector theXUID, StringBuffer thePatternDataStream) Create a tiling pattern (type 1). | |
PDFPattern(int theNumber, String thePatternName, int thePatternType, PDFShading theShading, Vector theXUID, StringBuffer theExtGState, Vector theMatrix) Create a type 2 pattern (smooth shading) |
Method Summary | |
String | getColorSpaceOut(boolean fillNotStroke) |
String | getName() Get the name of the pattern |
byte[] | toPDF() represent as PDF. |
Methods inherited from class org.apache.fop.pdf.PDFPathPaint |
getColorSpace, setColorSpace |
Methods inherited from class org.apache.fop.pdf.PDFObject |
getNumber, referencePDF |
Constructor Detail |
public PDFPattern(int theNumber, String thePatternName, PDFResources theResources, int thePatternType, int thePaintType, int theTilingType, Vector theBBox, double theXStep, double theYStep, Vector theMatrix, Vector theXUID, StringBuffer thePatternDataStream)
public PDFPattern(int theNumber, String thePatternName, int thePatternType, PDFShading theShading, Vector theXUID, StringBuffer theExtGState, Vector theMatrix)
Method Detail |
public String getColorSpaceOut(boolean fillNotStroke)
public String getName()
public byte[] toPDF()
Association Links |
to Class org.apache.fop.pdf.PDFResources
to Class java.lang.String
to Class java.util.Vector
to Class org.apache.fop.pdf.PDFShading
to Class java.util.Vector
to Class java.lang.StringBuffer
to Class java.util.Vector
to Class java.lang.StringBuffer
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |