public class PDAppearanceStream extends Object implements COSObjectable
Constructor and Description |
---|
PDAppearanceStream(COSStream s)
Constructor.
|
Modifier and Type | Method and 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(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(AffineTransform transform)
transform
- the transformation matrixCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.