Foxit PDF SDK
|
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. | |
Type definition for point class for integer.
- (void) add: | (int) | x | |
y: | (int) | y | |
Add a point.
[in] | x | x coordinate of the subtrahend point. |
[in] | y | x coordinate of the subtrahend point. |
- (id) initWithOther: | (FSPoint*) | other |
Copy constructor.
[in] | other | Another object. |
- (void) reset |
Reset to the base point.
- (void) set: | (int) | x | |
y: | (int) | y | |
Set values.
[in] | x | x coordinate of the point. |
[in] | y | x coordinate of the point. |
- (void) subtract: | (int) | x | |
y: | (int) | y | |
Subtract a point.
[in] | x | x coordinate of the addend point. |
[in] | y | x coordinate of the addend point. |