#include <CCGeometry.h>
|
| CCRect () |
| CCRect () |
| CCRect (float x, float y, float width, float height) |
| CCRect ( local x, local y, local width, local height) |
| CCRect (const CCRect &other) |
CCRect & | operator= (const CCRect &other) |
void | setRect (float x, float y, float width, float height) |
local | setRect ( local x, local y, local width, local height) |
float | getMinX () const |
local | getMinX () |
float | getMidX () const |
| return the leftmost x-value of current rect More...
|
|
local | getMidX () |
| return the leftmost x-value of current rect More...
|
|
float | getMaxX () const |
| return the midpoint x-value of current rect More...
|
|
local | getMaxX () |
| return the midpoint x-value of current rect More...
|
|
float | getMinY () const |
| return the rightmost x-value of current rect More...
|
|
local | getMinY () |
| return the rightmost x-value of current rect More...
|
|
float | getMidY () const |
| return the bottommost y-value of current rect More...
|
|
float | getMaxY () const |
| return the midpoint y-value of current rect More...
|
|
local | getMaxY () |
| return the midpoint y-value of current rect More...
|
|
bool | equals (const CCRect &rect) const |
| return the topmost y-value of current rect More...
|
|
local | equals ( local rect) |
| return the topmost y-value of current rect More...
|
|
bool | containsPoint (const CCPoint &point) const |
local | containsPoint ( local point) |
bool | intersectsRect (const CCRect &rect) const |
local | intersectsRect ( local rect) |
CCRect |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
width, |
|
|
float |
height |
|
) |
| |
local CCRect |
( |
local |
x, |
|
|
local |
y, |
|
|
local |
width, |
|
|
local |
height |
|
) |
| |
bool containsPoint |
( |
const CCPoint & |
point) | |
const |
local containsPoint |
( |
local |
point) | |
|
bool equals |
( |
const CCRect & |
rect) | |
const |
return the topmost y-value of current rect
local equals |
( |
local |
rect) | |
|
return the topmost y-value of current rect
return the midpoint x-value of current rect
return the midpoint x-value of current rect
return the midpoint y-value of current rect
return the midpoint y-value of current rect
return the leftmost x-value of current rect
return the leftmost x-value of current rect
return the bottommost y-value of current rect
return the bottommost y-value of current rect
return the rightmost x-value of current rect
return the rightmost x-value of current rect
bool intersectsRect |
( |
const CCRect & |
rect) | |
const |
local intersectsRect |
( |
local |
rect) | |
|
void setRect |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
width, |
|
|
float |
height |
|
) |
| |
local setRect |
( |
local |
x, |
|
|
local |
y, |
|
|
local |
width, |
|
|
local |
height |
|
) |
| |
The documentation for this class was generated from the following file: