Foxit PDF SDK
FoxitPDFSDKPython3.QuadPoints Class Reference

Inherits FoxitPDFSDKPython3._object.

Public Member Functions

def QuadPoints ()
 Constructor.

 
def QuadPoints (quad_points)
 Constructor, with another quadrilateral points object.
More...
 
def Set (first, second, third, fourth)
 Set value.
More...
 

Static Public Attributes

 first = _swig_property(_fsdk.QuadPoints_first_get, _fsdk.QuadPoints_first_set)
 First point of quadrilateral, in [PDF coordinate system] ().

 
 fourth = _swig_property(_fsdk.QuadPoints_fourth_get, _fsdk.QuadPoints_fourth_set)
 Fourth point of quadrilateral, in [PDF coordinate system] ().

 
 second = _swig_property(_fsdk.QuadPoints_second_get, _fsdk.QuadPoints_second_set)
 Second point of quadrilateral, in [PDF coordinate system] ().

 
 third = _swig_property(_fsdk.QuadPoints_third_get, _fsdk.QuadPoints_third_set)
 Third point of quadrilateral, in [PDF coordinate system] ().

 

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()

def FoxitPDFSDKPython3.QuadPoints.QuadPoints (   quad_points)

Constructor, with another quadrilateral points object.

Parameters
[in]quad_pointsAnother quadrilateral points object.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython3.QuadPoints.Set (   first,
  second,
  third,
  fourth 
)

Set value.

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