X,Y floating-point coordinate pair (for screen position). More...
#import <deCartaXYFloat.h>
Public Member Functions | |
| (id) | - initWithXf:andYf: |
Static Public Member Functions | |
| (id) | + XYWithX:andY: |
Protected Attributes | |
| float | _x |
| float | _y |
Properties | |
| float | x |
| float | y |
X,Y floating-point coordinate pair (for screen position).
ingroup Util
An object containing a 2-part coordinate, with X and Y values represented in single-precision floating point. This is typically used to represent screen position.
| - (id) initWithXf: | (float) | x | ||
| andYf: | (float) | y | ||
Initializes the deCartaXYFloat object with X and Y coordinate values
| x | Floating point x value (horizontal position) | |
| y | Floating point y value (vertical position) |
| + (id) XYWithX: | (float) | x | ||
| andY: | (float) | y | ||
Sets the deCartaXYFloat object's X and Y coordinate values
| x | Floating point x value (horizontal position) | |
| y | Floating point y value (vertical position) |
- (float) _x [protected] |
X component
- (float) _y [protected] |
Y component
- (float) x [read, write, assign] |
X component
- (float) y [read, write, assign] |
Y component
1.6.1