Public Member Functions | |
QuadPoints (PointF first, PointF second, PointF third, PointF fourth) | |
Constructor, with parameters. More... | |
QuadPoints () | |
Constructor. | |
QuadPoints (QuadPoints quad_points) | |
Constructor, with another QuadPoints object. More... | |
PointF | getFirst () |
Get first point of quadrilateral, in PDF coordinate system . More... | |
PointF | getFourth () |
Get fourth point of quadrilateral, in PDF coordinate system . More... | |
PointF | getSecond () |
Get second point of quadrilateral, in PDF coordinate system . More... | |
PointF | getThird () |
Get third point of quadrilateral, in PDF coordinate system . More... | |
void | set (PointF first, PointF second, PointF third, PointF fourth) |
Set value. More... | |
void | setFirst (PointF value) |
Set first point of quadrilateral, in PDF coordinate system . More... | |
void | setFourth (PointF value) |
Set fourth point of quadrilateral, in PDF coordinate system . More... | |
void | setSecond (PointF value) |
Set second point of quadrilateral, in PDF coordinate system . More... | |
void | setThird (PointF value) |
Set third point of quadrilateral, in PDF coordinate system . More... | |
This class represents points of a quadrilateral, in PDF coordinate system . The order of points in a quadrilateral should be as follows:
The first point is the point in left-top corner of the quadrilateral.
The second point is the point in right-top corner of the quadrilateral.
The third point is the point in left-bottom corner of the quadrilateral.
The fourth point is the point in right-bottom corner of the quadrilateral.
com.foxit.sdk.pdf.annots.QuadPoints.QuadPoints | ( | PointF | first, |
PointF | second, | ||
PointF | third, | ||
PointF | fourth | ||
) |
Constructor, with parameters.
first | First point of the quadrilateral, in PDF coordinate system . |
second | Second point of the quadrilateral, in PDF coordinate system . |
third | Third point of the quadrilateral, in PDF coordinate system . |
fourth | Fourth point of the quadrilateral, in PDF coordinate system . |
com.foxit.sdk.pdf.annots.QuadPoints.QuadPoints | ( | QuadPoints | quad_points | ) |
Constructor, with another QuadPoints object.
quad_points | Another QuadPoints object. |
com.foxit.sdk.pdf.annots.QuadPoints.getFirst | ( | ) |
Get first point of quadrilateral, in PDF coordinate system .
com.foxit.sdk.pdf.annots.QuadPoints.getFourth | ( | ) |
Get fourth point of quadrilateral, in PDF coordinate system .
com.foxit.sdk.pdf.annots.QuadPoints.getSecond | ( | ) |
Get second point of quadrilateral, in PDF coordinate system .
com.foxit.sdk.pdf.annots.QuadPoints.getThird | ( | ) |
Get third point of quadrilateral, in PDF coordinate system .
void com.foxit.sdk.pdf.annots.QuadPoints.set | ( | PointF | first, |
PointF | second, | ||
PointF | third, | ||
PointF | fourth | ||
) |
Set value.
first | First point of the quadrilateral, in PDF coordinate system . |
second | Second point of the quadrilateral, in PDF coordinate system . |
third | Third point of the quadrilateral, in PDF coordinate system . |
fourth | Fourth point of the quadrilateral, in PDF coordinate system . |
com.foxit.sdk.pdf.annots.QuadPoints.setFirst | ( | PointF | value | ) |
Set first point of quadrilateral, in PDF coordinate system .
[in] | first | First point of quadrilateral, in PDF coordinate system . |
com.foxit.sdk.pdf.annots.QuadPoints.setFourth | ( | PointF | value | ) |
Set fourth point of quadrilateral, in PDF coordinate system .
[in] | fourth | Fourth point of quadrilateral, in PDF coordinate system . |
com.foxit.sdk.pdf.annots.QuadPoints.setSecond | ( | PointF | value | ) |
Set second point of quadrilateral, in PDF coordinate system .
[in] | second | Second point of quadrilateral, in PDF coordinate system . |
com.foxit.sdk.pdf.annots.QuadPoints.setThird | ( | PointF | value | ) |
Set third point of quadrilateral, in PDF coordinate system .
[in] | third | Third point of quadrilateral, in PDF coordinate system . |