cocos2d-x
3.3
|
NA NA More...
#include <UILayoutParameter.h>
Public Member Functions | |
Margin () | |
Margin (float l, float t, float r, float b) | |
Margin (const Margin &other) | |
Margin & | operator= (const Margin &other) |
void | setMargin (float l, float t, float r, float b) |
bool | equals (const Margin &target) const |
Public Attributes | |
float | left |
float | top |
float | right |
float | bottom |
Static Public Attributes | |
static const Margin | ZERO |
NA NA
Margin | ( | ) |
Margin | ( | float | l, |
float | t, | ||
float | r, | ||
float | b | ||
) |
bool equals | ( | const Margin & | target | ) | const |
void setMargin | ( | float | l, |
float | t, | ||
float | r, | ||
float | b | ||
) |
float bottom |
float left |
float right |
float top |
|
static |