Class PDType3CharProc
- java.lang.Object
-
- com.tom_roush.pdfbox.pdmodel.font.PDType3CharProc
-
- All Implemented Interfaces:
PDContentStream,COSObjectable
public final class PDType3CharProc extends Object implements COSObjectable, PDContentStream
A Type 3 character procedure. This is a standalone PDF content stream.
-
-
Constructor Summary
Constructors Constructor Description PDType3CharProc(PDType3Font font, COSStream charStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDRectanglegetBBox()Returns the bounding box of the contents, if any.InputStreamgetContents()Returns this stream's content, if any.PDStreamgetContentStream()COSStreamgetCOSObject()Convert this standard java object to a COS object.PDType3FontgetFont()MatrixgetMatrix()Returns the matrix which transforms from the stream's space to user space.PDResourcesgetResources()Returns this stream's resources
-
-
-
Constructor Detail
-
PDType3CharProc
public PDType3CharProc(PDType3Font font, COSStream charStream)
-
-
Method Detail
-
getCOSObject
public COSStream getCOSObject()
Description copied from interface:COSObjectableConvert this standard java object to a COS object.- Specified by:
getCOSObjectin interfaceCOSObjectable- Returns:
- The cos object that matches this Java object.
-
getFont
public PDType3Font getFont()
-
getContentStream
public PDStream getContentStream()
-
getContents
public InputStream getContents() throws IOException
Description copied from interface:PDContentStreamReturns this stream's content, if any.- Specified by:
getContentsin interfacePDContentStream- Returns:
- An InputStream or null.
- Throws:
IOException- If the stream could not be read
-
getResources
public PDResources getResources()
Description copied from interface:PDContentStreamReturns this stream's resources- Specified by:
getResourcesin interfacePDContentStream
-
getBBox
public PDRectangle getBBox()
Description copied from interface:PDContentStreamReturns the bounding box of the contents, if any.- Specified by:
getBBoxin interfacePDContentStream
-
getMatrix
public Matrix getMatrix()
Description copied from interface:PDContentStreamReturns the matrix which transforms from the stream's space to user space.- Specified by:
getMatrixin interfacePDContentStream
-
-