Foxit PDF RDK

Public Member Functions | Public Attributes | List of all members
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()

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

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

Point.Reset | ( |  | ) |

Reset to the base point.

Returns
  None.

## ◆ Set() [1/2]

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]

Point.Set | ( | psv |  | ) |

Set values.

Parameters

  [in] | psv | Another value object.

Returns
  None.

## ◆ Subtract()

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.