cocos2d-x  3.1rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Margin Class Reference

#include <UILayoutParameter.h>

Public Member Functions

 Margin ()
 Margin (float l, float t, float r, float b)
 Margin (const Margin &other)
Marginoperator= (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

Constructor & Destructor Documentation

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

Member Function Documentation

bool equals ( const Margin target) const
Margin& operator= ( const Margin 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: