com.foxit.sdk.pdf.annots.QuadPoints Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ QuadPoints() [1/2]

com.foxit.sdk.pdf.annots.QuadPoints.QuadPoints ( PointF  first,
PointF  second,
PointF  third,
PointF  fourth 
)

Constructor, with parameters.

Parameters
firstFirst point of the quadrilateral, in PDF coordinate system .
secondSecond point of the quadrilateral, in PDF coordinate system .
thirdThird point of the quadrilateral, in PDF coordinate system .
fourthFourth point of the quadrilateral, in PDF coordinate system .

◆ QuadPoints() [2/2]

com.foxit.sdk.pdf.annots.QuadPoints.QuadPoints ( QuadPoints  quad_points)

Constructor, with another QuadPoints object.

Parameters
quad_pointsAnother QuadPoints object.

Member Function Documentation

◆ getFirst()

com.foxit.sdk.pdf.annots.QuadPoints.getFirst ( )

Get first point of quadrilateral, in PDF coordinate system .

Returns
First point of quadrilateral, in PDF coordinate system .

◆ getFourth()

com.foxit.sdk.pdf.annots.QuadPoints.getFourth ( )

Get fourth point of quadrilateral, in PDF coordinate system .

Returns
Fourth point of quadrilateral, in PDF coordinate system .

◆ getSecond()

com.foxit.sdk.pdf.annots.QuadPoints.getSecond ( )

Get second point of quadrilateral, in PDF coordinate system .

Returns
Second point of quadrilateral, in PDF coordinate system .

◆ getThird()

com.foxit.sdk.pdf.annots.QuadPoints.getThird ( )

Get third point of quadrilateral, in PDF coordinate system .

Returns
Third point of quadrilateral, in PDF coordinate system .

◆ set()

void com.foxit.sdk.pdf.annots.QuadPoints.set ( PointF  first,
PointF  second,
PointF  third,
PointF  fourth 
)

Set value.

Parameters
firstFirst point of the quadrilateral, in PDF coordinate system .
secondSecond point of the quadrilateral, in PDF coordinate system .
thirdThird point of the quadrilateral, in PDF coordinate system .
fourthFourth point of the quadrilateral, in PDF coordinate system .
Returns
None.

◆ setFirst()

com.foxit.sdk.pdf.annots.QuadPoints.setFirst ( PointF  value)

Set first point of quadrilateral, in PDF coordinate system .

Parameters
[in]firstFirst point of quadrilateral, in PDF coordinate system .
Returns
None.

◆ setFourth()

com.foxit.sdk.pdf.annots.QuadPoints.setFourth ( PointF  value)

Set fourth point of quadrilateral, in PDF coordinate system .

Parameters
[in]fourthFourth point of quadrilateral, in PDF coordinate system .
Returns
None.

◆ setSecond()

com.foxit.sdk.pdf.annots.QuadPoints.setSecond ( PointF  value)

Set second point of quadrilateral, in PDF coordinate system .

Parameters
[in]secondSecond point of quadrilateral, in PDF coordinate system .
Returns
None.

◆ setThird()

com.foxit.sdk.pdf.annots.QuadPoints.setThird ( PointF  value)

Set third point of quadrilateral, in PDF coordinate system .

Parameters
[in]thirdThird point of quadrilateral, in PDF coordinate system .
Returns
None.

Foxit Software Corporation Logo
@2018 Foxit Software Incorporated. All rights reserved.