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