Foxit PDF SDK

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

Type definition for point class for integer.
More...

Inherits NSObject.

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

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

## Detailed Description

Type definition for point class for integer.

## Method Documentation

## ◆ add:y:()

- (void) add: |  | (int) | x
y: |  | (int) | 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: |  | (FSPoint*) | other |

Copy constructor.

Parameters

  [in] | other | Another object.

## ◆ reset()

- (void) reset |  |  |

Reset to the base point.

Returns
  None.

## ◆ set:y:()

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

Set values.

Parameters

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

Returns
  None.

## ◆ subtract:y:()

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

Subtract a point.

Parameters

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

Returns
  None.