Foxit PDF SDK
fsdk.QuadPoints Class Reference

Public Member Functions

def GetFirst ()
 Get first point of quadrilateral, in [PDF coordinate system] (). More...
 
def GetFourth ()
 Get fourth point of quadrilateral, in [PDF coordinate system] (). More...
 
def GetSecond ()
 Get second point of quadrilateral, in [PDF coordinate system] (). More...
 
def GetThird ()
 Get third point of quadrilateral, in [PDF coordinate system] (). More...
 
def Set (first, second, third, fourth)
 Set value. More...
 
def SetFirst (value)
 Set first point of quadrilateral, in [PDF coordinate system] (). More...
 
def SetFourth (value)
 Set fourth point of quadrilateral, in [PDF coordinate system] (). More...
 
def SetSecond (value)
 Set second point of quadrilateral, in [PDF coordinate system] (). More...
 
def SetThird (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.

Member Function Documentation

◆ GetFirst()

fsdk.QuadPoints.GetFirst ( )

Get first point of quadrilateral, in [PDF coordinate system] ().

Returns
First point of quadrilateral, in [PDF coordinate system] ().

◆ GetFourth()

fsdk.QuadPoints.GetFourth ( )

Get fourth point of quadrilateral, in [PDF coordinate system] ().

Returns
Fourth point of quadrilateral, in [PDF coordinate system] ().

◆ GetSecond()

fsdk.QuadPoints.GetSecond ( )

Get second point of quadrilateral, in [PDF coordinate system] ().

Returns
Second point of quadrilateral, in [PDF coordinate system] ().

◆ GetThird()

fsdk.QuadPoints.GetThird ( )

Get third point of quadrilateral, in [PDF coordinate system] ().

Returns
Third point of quadrilateral, in [PDF coordinate system] ().

◆ Set()

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

◆ SetFirst()

fsdk.QuadPoints.SetFirst (   value)

Set first point of quadrilateral, in [PDF coordinate system] ().

Parameters
[in]valueFirst point of quadrilateral, in [PDF coordinate system] ().
Returns
None.

◆ SetFourth()

fsdk.QuadPoints.SetFourth (   value)

Set fourth point of quadrilateral, in [PDF coordinate system] ().

Parameters
[in]valueFourth point of quadrilateral, in [PDF coordinate system] ().
Returns
None.

◆ SetSecond()

fsdk.QuadPoints.SetSecond (   value)

Set second point of quadrilateral, in [PDF coordinate system] ().

Parameters
[in]valueSecond point of quadrilateral, in [PDF coordinate system] ().
Returns
None.

◆ SetThird()

fsdk.QuadPoints.SetThird (   value)

Set third point of quadrilateral, in [PDF coordinate system] ().

Parameters
[in]valueThird point of quadrilateral, in [PDF coordinate system] ().
Returns
None.