Foxit PDF SDK

Instance Methods | Properties | List of all members
FSPointF Class Reference

Type definition for point class for float.
More...

Inherits NSObject.

## Instance Methods
(void) | - add:y:
| Add a point. More...
(id) | - init
| Constructor.
(id) | - initWithOther:
| Constructor, with another object. More...
(void) | - reset
| Reset to the base point. More...
(void) | - set:y:
| Set values. More...
(void) | - subtract:y:
| Subtract a point. More...

## Properties
float | x
| x coordinate of the point.
float | y
| y coordinate of the point.

## Detailed Description

Type definition for point class for float.

## Method Documentation

## ◆ add:y:()

- (void) add: |  | (float) | x
y: |  | (float) | y

Add a point.

Parameters

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

Returns
  None.

## ◆ initWithOther:()

- (id) initWithOther: |  | (FSPointF*) | other |

Constructor, with another object.

Parameters

  [in] | other | Another object.

## ◆ reset()

- (void) reset |  |  |

Reset to the base point.

Returns
  None.

## ◆ set:y:()

- (void) set: |  | (float) | x
y: |  | (float) | y

Set values.

Parameters

  [in] | x | Value for x.
  [in] | y | Value for y.

Returns
  None.

## ◆ subtract:y:()

- (void) subtract: |  | (float) | x
y: |  | (float) | y

Subtract a point.

Parameters

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

Returns
  None.