deCartaXYFloat Class Reference

X,Y floating-point coordinate pair (for screen position). More...

#import <deCartaXYFloat.h>

List of all members.

Public Member Functions

(id) - initWithXf:andYf:

Static Public Member Functions

(id) + XYWithX:andY:

Protected Attributes

float _x
float _y

Properties

float x
float y

Detailed Description

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.


Member Function Documentation

- (id) initWithXf: (float)  x
andYf: (float)  y 

Initializes the deCartaXYFloat object with X and Y coordinate values

Parameters:
x Floating point x value (horizontal position)
y Floating point y value (vertical position)
Returns:
Objective-C ID of the deCartaXYFloat object.
+ (id) XYWithX: (float)  x
andY: (float)  y 

Sets the deCartaXYFloat object's X and Y coordinate values

Parameters:
x Floating point x value (horizontal position)
y Floating point y value (vertical position)
Returns:
Objective-C ID of the deCartaXYFloat object.

Member Data Documentation

- (float) _x [protected]

X component

- (float) _y [protected]

Y component


Property Documentation

- (float) x [read, write, assign]

X component

- (float) y [read, write, assign]

Y component


The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties

Generated on Fri Aug 12 16:23:02 2011 for deCarta iPhone API by  doxygen 1.6.1