NA.
More...
#include <CCGeometry.h>
◆ CCRect() [1/3]
◆ CCRect() [2/3]
CCRect |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
width, |
|
|
float |
height |
|
) |
| |
◆ CCRect() [3/3]
◆ containsPoint()
bool containsPoint |
( |
const CCPoint & |
point | ) |
const |
◆ equals()
bool equals |
( |
const CCRect & |
rect | ) |
const |
return the topmost y-value of current rect
◆ getMaxX()
return the midpoint x-value of current rect
◆ getMaxY()
return the midpoint y-value of current rect
◆ getMidX()
return the leftmost x-value of current rect
◆ getMidY()
return the bottommost y-value of current rect
◆ getMinX()
◆ getMinY()
return the rightmost x-value of current rect
◆ intersectsRect()
bool intersectsRect |
( |
const CCRect & |
rect | ) |
const |
◆ operator=()
◆ setRect()
void setRect |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
width, |
|
|
float |
height |
|
) |
| |
◆ origin
◆ size
The documentation for this class was generated from the following file:
- /home/runner/work/cocos-headers/cocos-headers/cocos2dx/cocoa/CCGeometry.h