deCartaXYInteger Class Reference
[Utility Classes]

X,Y integer coordinate pair. More...

#import <deCartaXYInteger.h>

List of all members.

Public Member Functions

(id) - initWithXi:andYi:

Static Public Member Functions

(id) + XYWithX:andY:

Protected Attributes

int _x
int _y

Properties

int x
int y

Detailed Description

X,Y integer coordinate pair.

An object containing a 2-part coordinate, with X and Y values represented as integers. Usually used to represent screen size.


Member Function Documentation

- (id) initWithXi: (int)  x
andYi: (int)  y 

Initalizes the deCartaXYInteger object with X and Y values

Parameters:
x X Value (width)
y Y Value (height)
Returns:
Objective-C ID of the deCartaXYInteger object returned
+ (id) XYWithX: (int)  x
andY: (int)  y 

Sets the deCartaXYInteger's X and Y values

Parameters:
x X Value (width)
y Y Value (height)
Returns:
Objective-C ID of the deCartaXYInteger object returned

Member Data Documentation

- (int) _x [protected]

Horizontal pixel value

- (int) _y [protected]

Vertical pixel value


Property Documentation

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

Horizontal pixel value

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

Vertical pixel value


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