cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Size Class Reference

#include <CCGeometry.h>

Public Member Functions

 operator Vec2 () const
 
 Size ()
 NA More...
 
 Size (float width, float height)
 NA More...
 
 Size (const Size &other)
 NA NA More...
 
 Size (const Vec2 &point)
 NA NA More...
 
Sizeoperator= (const Size &other)
 NA NA More...
 
Sizeoperator= (const Vec2 &point)
 NA NA More...
 
Size operator+ (const Size &right) const
 NA NA More...
 
Size operator- (const Size &right) const
 NA NA More...
 
Size operator* (float a) const
 NA NA More...
 
Size operator/ (float a) const
 NA NA More...
 
void setSize (float width, float height)
 NA NA More...
 
bool equals (const Size &target) const
 NA More...
 

Public Attributes

float width
 
float height
 

Static Public Attributes

static const Size ZERO
 

Constructor & Destructor Documentation

Size ( )

NA

Size ( float  width,
float  height 
)

NA

Size ( const Size other)

NA NA

Size ( const Vec2 point)
explicit

NA NA

Member Function Documentation

bool equals ( const Size target) const

NA

operator Vec2 ( ) const
inline
Size operator* ( float  a) const

NA NA

Size operator+ ( const Size right) const

NA NA

Size operator- ( const Size right) const

NA NA

Size operator/ ( float  a) const

NA NA

Size& operator= ( const Size other)

NA NA

Size& operator= ( const Vec2 point)

NA NA

void setSize ( float  width,
float  height 
)

NA NA

Member Data Documentation

float height
float width
const Size ZERO
static

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