Foxit PDF SDK

Public Member Functions | Public Attributes | List of all members
FSDK.Point Class Reference

## Public Member Functions
| Add (x, y)
| Add a point. More...
| constructor ()
| Constructor.
| constructor (new_x, new_y)
| Constructor, with parameters. More...
| Reset ()
| Reset to the base point. More...
| Set (new_x, new_y)
| Set values. More...
| Set (psv)
| Set values. More...
| Subtract (x, y)
| Subtract a point. More...

## Public Attributes
| x
| x coordinate of the point.
| y
| y coordinate of the point.

## Member Function Documentation

## ◆ Add()

FSDK.Point.Add | ( | x | ,
|  | y |
| ) |  |

Add a point.

Parameters

  [in] | x | x coordinate of the subtrahend point.
  [in] | y | x coordinate of the subtrahend point.

Returns
  None.

## ◆ constructor()

FSDK.Point.constructor | ( | new_x | ,
|  | new_y |
| ) |  |

Constructor, with parameters.

Parameters

  [in] | new_x | x coordinate of the point.
  [in] | new_y | y coordinate of the point.

## ◆ Reset()

FSDK.Point.Reset | ( |  | ) |

Reset to the base point.

Returns
  None.

## ◆ Set() [1/2]

FSDK.Point.Set | ( | new_x | ,
|  | new_y |
| ) |  |

Set values.

Parameters

  [in] | x | x coordinate of the point.
  [in] | y | x coordinate of the point.

Returns
  None.

## ◆ Set() [2/2]

FSDK.Point.Set | ( | psv |  | ) |

Set values.

Parameters

  [in] | psv | Another value object.

Returns
  None.

## ◆ Subtract()

FSDK.Point.Subtract | ( | x | ,
|  | y |
| ) |  |

Subtract a point.

Parameters

  [in] | x | x coordinate of the addend point.
  [in] | y | x coordinate of the addend point.

Returns
  None.