Foxit PDF SDK
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]xx coordinate of the subtrahend point.
[in]yx coordinate of the subtrahend point.
Returns
None.

◆ initWithOther:()

- (id) initWithOther: (FSPointF*)  other

Constructor, with another object.

Parameters
[in]otherAnother object.

◆ reset()

- (void) reset

Reset to the base point.

Returns
None.

◆ set:y:()

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

Set values.

Parameters
[in]xValue for x.
[in]yValue for y.
Returns
None.

◆ subtract:y:()

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

Subtract a point.

Parameters
[in]xx coordinate of the addend point.
[in]yx coordinate of the addend point.
Returns
None.