PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFPolylineAnnotation Class / setPoints Method
An array of points that define the polyline.
Collapse All Expand All
In This Topic

setPoints Method
In This Topic
Sets the polyline points.
The points in this array are given in page display coordinates, relative to top left corner of the visual page.
Note: for cloud polygon annotations the points must be given in clockwise order.
Syntax

    public void setPoints(
       PDFPoint[] points
    )

#### Parameters

points
  An array of points that define the polyline.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When points is set and the annotation does not belong to a page.

See Also

#### Reference

PDFPolylineAnnotation Class
PDFPolylineAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.