Package org.apache.fop.pdf
Class PDFPathPaint
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFPathPaint
- All Implemented Interfaces:
PDFWritable
- Direct Known Subclasses:
PDFColor
,PDFPattern
Base class for PDF painting operations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get the current color space value for this paint.getColorSpaceOut
(boolean fillNotStroke) Get the PDF string for setting the path paint.void
setColorSpace
(int theColorSpace) Set the color space for this paint.Methods inherited from class org.apache.fop.pdf.PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getChildren, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString
-
Field Details
-
colorSpace
The color space for this paint
-
-
Constructor Details
-
PDFPathPaint
public PDFPathPaint()
-
-
Method Details
-
getColorSpaceOut
Get the PDF string for setting the path paint.- Parameters:
fillNotStroke
- if true fill otherwise stroke- Returns:
- the PDF instruction string
-
setColorSpace
public void setColorSpace(int theColorSpace) Set the color space for this paint.- Parameters:
theColorSpace
- the color space value
-
getColorSpace
public int getColorSpace()Get the current color space value for this paint.- Returns:
- the color space value
-