COSObjectable
public class PDAppearanceStream extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
PDAppearanceStream(COSStream s) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
PDRectangle |
getBoundingBox() |
Get the bounding box for this appearance.
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
Matrix |
getMatrix() |
Gets the optional matrix for this appearance.
|
PDResources |
getResources() |
This will get the resources for this appearance stream.
|
COSStream |
getStream() |
This will return the underlying stream.
|
void |
setBoundingBox(PDRectangle rectangle) |
This will set the bounding box for this appearance stream.
|
void |
setMatrix(java.awt.geom.AffineTransform transform) |
Sets the optional Matrix entry for this appearance.
|
void |
setResources(PDResources resources) |
This will set the new resources.
|
public PDAppearanceStream(COSStream s)
s
- The cos stream for this appearance.public COSStream getStream()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public PDRectangle getBoundingBox()
public void setBoundingBox(PDRectangle rectangle)
rectangle
- The new bounding box.public PDResources getResources()
public void setResources(PDResources resources)
resources
- The new resources.public Matrix getMatrix()
public void setMatrix(java.awt.geom.AffineTransform transform)
transform
- the transformation matrix