java.lang.Object | ||||
↳ | com.pspdfkit.annotations.Annotation | |||
↳ | com.pspdfkit.annotations.ShapeAnnotation | |||
↳ | com.pspdfkit.annotations.BaseLineAnnotation | |||
↳ | com.pspdfkit.annotations.PolygonAnnotation |
Represents a closed polygon on a page.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PolygonAnnotation(int pageIndex, List<PointF> points)
Creates a new polygon annotation.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
List<PointF> |
getPoints()
Returns polygon points in PDF coordinates.
| ||||||||||
AnnotationType |
getType()
Gets the annotation type of the annotation.
| ||||||||||
void |
setPoints(List<PointF> points)
Sets polygon points in PDF coordinates.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Pair<LineEndType, LineEndType> |
getLineEnds()
Returns current line ending styles for this line.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new polygon annotation.
pageIndex | Page to which this annotation will be attached to. |
---|---|
points | List of points in polygon annotation. |
Returns polygon points in PDF coordinates.
Gets the annotation type of the annotation.
Sets polygon points in PDF coordinates.
points | List of points in polygon annotation. |
---|
Returns current line ending styles for this line.
NONE
.