public class PdfArtifact extends PdfShape
Lean more
Modifier and Type | Method and Description |
---|---|
int |
getArtifactSubtype()
Gets the subtype of this
. |
int |
getArtifactType()
Gets the type of this
. |
double |
getHeight()
Gets the height of this
in points. |
double |
getOpacity()
Gets the opacity of this
. |
PdfPage |
getPage()
Gets the parent page of this
. |
double |
getRotateAngle()
Gets the rotate angle of this
in degrees. |
String |
getText()
Gets the text of this
. |
double |
getWidth()
Gets the width of this
in points. |
double |
getX()
Gets the horizontal offset of this
from page left border in points. |
double |
getY()
Gets the vertical offset of this
from page bottom border in points. |
void |
setText(String value)
Sets the text of this
. |
getFormattedTextFragments, getImage, setImage
public final PdfPage getPage()
PdfArtifact
.PdfArtifact
.public String getText()
PdfArtifact
.getText
in class PdfShape
PdfArtifact
.public void setText(String value)
PdfArtifact
.setText
in class PdfShape
value
- The text of this PdfArtifact
.public final int getArtifactType()
PdfArtifact
.PdfArtifact
.public final int getArtifactSubtype()
PdfArtifact
.PdfArtifact
.public final double getOpacity()
PdfArtifact
.
Possible values are in range [0, 1].
PdfArtifact
.public double getX()
PdfArtifact
from page left border in points.getX
in interface ITwoDObject
getX
in class PdfShape
PdfArtifact
.public double getY()
PdfArtifact
from page bottom border in points.getY
in interface ITwoDObject
getY
in class PdfShape
PdfArtifact
.public double getRotateAngle()
PdfArtifact
in degrees.getRotateAngle
in interface IRotatableTwoDObject
getRotateAngle
in class PdfShape
PdfArtifact
in degrees.public double getWidth()
PdfArtifact
in points.getWidth
in interface ITwoDObject
getWidth
in class PdfShape
PdfArtifact
in points.public double getHeight()
PdfArtifact
in points.getHeight
in interface ITwoDObject
getHeight
in class PdfShape
PdfArtifact
in points.