cocos2d-x  3.0alpha1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
UIMargin Class Reference

#include <UILayoutDefine.h>

Public Member Functions

 UIMargin ()
 UIMargin (float l, float t, float r, float b)
 UIMargin (const UIMargin &other)
UIMarginoperator= (const UIMargin &other)
void setMargin (float l, float t, float r, float b)
bool equals (const UIMargin &target) const

Public Attributes

float left
float top
float right
float bottom

Constructor & Destructor Documentation

UIMargin ( )
UIMargin ( float  l,
float  t,
float  r,
float  b 
)
UIMargin ( const UIMargin other)

Member Function Documentation

bool equals ( const UIMargin target) const
UIMargin& operator= ( const UIMargin other)
void setMargin ( float  l,
float  t,
float  r,
float  b 
)

Member Data Documentation

float bottom
float left
float right
float top

The documentation for this class was generated from the following file: