public final class PDType3CharProc extends Object implements COSObjectable, PDContentStream
| Constructor and Description |
|---|
PDType3CharProc(PDType3Font font,
COSStream charStream) |
| Modifier and Type | Method and Description |
|---|---|
PDRectangle |
getBBox()
Returns the bounding box of the contents.
|
InputStream |
getContents()
Returns this stream's content, if any.
|
PDStream |
getContentStream() |
COSStream |
getCOSObject() |
PDType3Font |
getFont() |
PDRectangle |
getGlyphBBox()
Calculate the bounding box of this glyph.
|
Matrix |
getMatrix()
Returns the matrix which transforms from the stream's space to user space.
|
PDResources |
getResources()
Returns this stream's resources, if any.
|
float |
getWidth()
Get the width from a type3 charproc stream.
|
public PDType3CharProc(PDType3Font font, COSStream charStream)
public COSStream getCOSObject()
getCOSObject in interface COSObjectableCOSBase that matches this Java object.public PDType3Font getFont()
public PDStream getContentStream()
public InputStream getContents() throws IOException
PDContentStreamgetContents in interface PDContentStreamIOException - If the stream could not be readpublic PDResources getResources()
PDContentStreamgetResources in interface PDContentStreampublic PDRectangle getBBox()
PDContentStreamgetBBox in interface PDContentStreampublic PDRectangle getGlyphBBox()
public Matrix getMatrix()
PDContentStreamgetMatrix in interface PDContentStreampublic float getWidth()
throws IOException
IOException - if the stream could not be read, or did not have d0 or d1 as first operator, or if their
first argument was not a number.Copyright © 2019 sejda. All rights reserved.