PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFLineAnnotation Class / setEndPoint Method / setEndPoint(double,double) Method
The x coordinate of the annotation's end point.
The y coordinate of the annotation's end point.
Collapse All Expand All
In This Topic

setEndPoint(double,double) Method
In This Topic
Sets the line's end point.
Syntax

    public void setEndPoint(
       double x,
       double y
    )

#### Parameters

x
  The x coordinate of the annotation's end point.
y
  The y coordinate of the annotation's end point.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalStateException | Thrown when the annotation does not belong to a page.

See Also

#### Reference

PDFLineAnnotation Class
PDFLineAnnotation Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.