public class PdfAnnotation extends PdfShape
Represents an annotation in a pdf document.
Modifier and Type | Method and Description |
---|---|
int |
getAnnotationType()
Gets the type of this
PdfAnnotation . |
double |
getHeight()
Gets the height of this
PdfAnnotation in points. |
PdfPage |
getPage()
Gets the parent page of this
PdfAnnotation . |
double |
getRotateAngle()
Gets the rotate angle of this
PdfAnnotation in degrees. |
double |
getWidth()
Gets the width of this
PdfAnnotation in points. |
double |
getX()
Gets the horizontal offset of this
PdfAnnotation from page left border in points. |
double |
getY()
Gets the vertical offset of this
PdfAnnotation from worksheet bottom border in points. |
public final PdfPage getPage()
Gets the parent page of this PdfAnnotation
.
PdfAnnotation
.public final int getAnnotationType()
Gets the type of this PdfAnnotation
.
PdfAnnotation
.public double getX()
Gets the horizontal offset of this PdfAnnotation
from page left border in points.
getX
in interface ITwoDObject
getX
in class PdfShape
PdfAnnotation
.public double getY()
Gets the vertical offset of this PdfAnnotation
from worksheet bottom border in points.
getY
in interface ITwoDObject
getY
in class PdfShape
PdfAnnotation
.public double getRotateAngle()
Gets the rotate angle of this PdfAnnotation
in degrees.
getRotateAngle
in interface IRotatableTwoDObject
getRotateAngle
in class PdfShape
PdfAnnotation
in degrees.public double getWidth()
Gets the width of this PdfAnnotation
in points.
getWidth
in interface ITwoDObject
getWidth
in class PdfShape
PdfAnnotation
in points.public double getHeight()
Gets the height of this PdfAnnotation
in points.
getHeight
in interface ITwoDObject
getHeight
in class PdfShape
PdfAnnotation
in points.