#include <CCGeometry.h>
Constructor.
- Parameters
-
width | Width of the size. |
height | Height of the size. |
other | Copy constructor. |
point | Conversion from a point. |
Constructor.
- Parameters
-
width | Width of the size. |
height | Height of the size. |
other | Copy constructor. |
point | Conversion from a point. |
Constructor.
- Parameters
-
width | Width of the size. |
height | Height of the size. |
other | Copy constructor. |
point | Conversion from a point. |
Size |
( |
float |
width, |
|
|
float |
height |
|
) |
| |
var Size |
( |
var |
width, |
|
|
var |
height |
|
) |
| |
local Size |
( |
local |
width, |
|
|
local |
height |
|
) |
| |
local Size |
( |
local |
other | ) |
|
local Size |
( |
local |
point | ) |
|
|
explicit |
bool equals |
( |
const Size & |
target | ) |
const |
Check if two size is the same.
local equals |
( |
local |
target | ) |
|
Check if two size is the same.
Size operator* |
( |
float |
a | ) |
const |
Size operator+ |
( |
const Size & |
right | ) |
const |
Size operator- |
( |
const Size & |
right | ) |
const |
Size operator/ |
( |
float |
a | ) |
const |
void setSize |
( |
float |
width, |
|
|
float |
height |
|
) |
| |
Set the width and height of Size.
The documentation for this class was generated from the following file: