org.foray.pdf.object
Class PDFPathPaint
java.lang.Object
org.foray.pdf.object.PDFObject
org.foray.pdf.object.PDFPathPaint
- All Implemented Interfaces:
- org.axsl.pdf.PdfPathPaint
- Direct Known Subclasses:
- PDFColor, PDFPattern
public abstract class PDFPathPaint
- extends PDFObject
- implements org.axsl.pdf.PdfPathPaint
Abstract superclass for classes painting paths.
Methods inherited from class org.foray.pdf.object.PDFObject |
bufferToByteArray, byteArrayToStream, getCharsPerLine, getGeneration, getLogger, getNumber, getPDFDocument, output, pdfID, pdfReference, setNumber, stringToByteArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.axsl.pdf.PdfPathPaint |
getSetterString |
PDFPathPaint
public PDFPathPaint(PDFDocument doc)
- Constructor.
- Parameters:
doc
- The parent PDF document.
PDFPathPaint
public PDFPathPaint()
- Constructor for a path that is not part of the PDF document.
setColorSpace
public void setColorSpace(ColorSpace theColorSpace)
- Sets the color space for this paint.
- Parameters:
theColorSpace
- The new color space.
getColorSpace
public ColorSpace getColorSpace()
- Return the color space for this paint.
- Returns:
- The color space.
Copyright © 2017. All rights reserved.