Package org.apache.pdfbox.contentstream
Interface PDContentStream
-
- All Known Implementing Classes:
PDAppearanceStream
,PDFormXObject
,PDPage
,PDTilingPattern
,PDTransparencyGroup
,PDType3CharProc
public interface PDContentStream
A content stream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PDRectangle
getBBox()
Returns the bounding box of the contents.java.io.InputStream
getContents()
Returns this stream's content, if any.Matrix
getMatrix()
Returns the matrix which transforms from the stream's space to user space.PDResources
getResources()
Returns this stream's resources, if any.
-
-
-
Method Detail
-
getContents
java.io.InputStream getContents() throws java.io.IOException
Returns this stream's content, if any.- Returns:
- An InputStream or null.
- Throws:
java.io.IOException
- If the stream could not be read
-
getResources
PDResources getResources()
Returns this stream's resources, if any.- Returns:
- the resources of this stream.
-
getBBox
PDRectangle getBBox()
Returns the bounding box of the contents.- Returns:
- the bounding box of this stream.
-
getMatrix
Matrix getMatrix()
Returns the matrix which transforms from the stream's space to user space.- Returns:
- the matrix of this stream.
-
-