Foxit PDF SDK
FoxitPDFSDKPython2.QuadPoints Class Reference

Inherits FoxitPDFSDKPython2._object.

Public Member Functions

def QuadPoints (first, second, third, fourth)
 Constructor, with parameters. 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 FoxitPDFSDKPython2.QuadPoints.QuadPoints (   first,
  second,
  third,
  fourth 
)

Constructor, with parameters.

Constructor, with another quadrilateral points object.

Constructor.

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] ().
[in]quad_pointsAnother quadrilateral points object.

Member Function Documentation

◆ Set()

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