PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFTextMarkupAnnotation Class / setDisplayQuadPoints Method
An array of 4*n points specifying the coordinates of n quadrilaterals in visual space.
Collapse All Expand All
In This Topic

setDisplayQuadPoints Method
In This Topic
Sets the display quad points. Each quadrilateral shall encompasses a word or group of contiguous words in the text underlying the annotation. The coordinates for each quadrilateral shall be given in the order:
x1 y1 x2 y2 x3 y3 x4 y4
specifying the quadrilateral's four vertices in counterclockwise order.
Note: This is the Acrobat order that the library also uses: (x1 y1) is the top left corner, (x2 y2) is the top right corner, (x3 y3) is the bottom left corner, (x4 y4) is the bottom right corner.
Syntax

    public void setDisplayQuadPoints(
       PDFPoint[] value
    )

#### Parameters

value
  An array of 4*n points specifying the coordinates of n quadrilaterals in visual space.

See Also

#### Reference

PDFTextMarkupAnnotation Class
PDFTextMarkupAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.