Foxit PDF SDK

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

Reset to the base point.

Returns
  None.

## ◆ Set() [1/2]

FSDK.PointF.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.PointF.Set | ( | psv |  | ) |

Set values.

Parameters

  [in] | psv | Another value object.

Returns
  None.

## ◆ Subtract()

FSDK.PointF.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.