cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Color4B Struct Reference

RGBA color composed of 4 bytes. More...

#include <ccTypes.h>

Public Member Functions

 Color4B (GLubyte _r, GLubyte _g, GLubyte _b, GLubyte _a)
 Color4B ( var _r, var _g, var _b, var _a)
 Color4B ( local _r, local _g, local _b, local _a)
 Color4B ()
 Color4B (const Color4F &color4F)

Public Attributes

GLubyte r
GLubyte g
var g
local g
GLubyte b
GLubyte a
var a
local a

Static Public Attributes

static const Color4B WHITE
var WHITE
local WHITE
static const Color4B YELLOW
var YELLOW
local YELLOW
static const Color4B BLUE
var BLUE
local BLUE
static const Color4B GREEN
var GREEN
local GREEN
static const Color4B RED
var RED
local RED
static const Color4B MAGENTA
var MAGENTA
local MAGENTA
static const Color4B BLACK
var BLACK
local BLACK
static const Color4B ORANGE
var ORANGE
local ORANGE
static const Color4B GRAY
var GRAY
local GRAY

Detailed Description

RGBA color composed of 4 bytes.

Since
v3.0

Constructor & Destructor Documentation

Color4B ( GLubyte  _r,
GLubyte  _g,
GLubyte  _b,
GLubyte  _a 
)
inline
var Color4B ( var  _r,
var  _g,
var  _b,
var  _a 
)
inline
local Color4B ( local  _r,
local  _g,
local  _b,
local  _a 
)
inline
Color4B ( )
inline
var Color4B ( )
inline
local Color4B ( )
inline
Color4B ( const Color4F color4F)
explicit
var Color4B ( var  color4F)
explicit
local Color4B ( local  color4F)
explicit

Member Data Documentation

GLubyte a
var a
local a
GLubyte b
var b
local b
const Color4B BLACK
static
var BLACK
static
local BLACK
static
const Color4B BLUE
static
var BLUE
static
local BLUE
static
GLubyte g
var g
local g
const Color4B GRAY
static
var GRAY
static
local GRAY
static
const Color4B GREEN
static
var GREEN
static
local GREEN
static
const Color4B MAGENTA
static
var MAGENTA
static
local MAGENTA
static
const Color4B ORANGE
static
var ORANGE
static
local ORANGE
static
GLubyte r
var r
local r
const Color4B RED
static
var RED
static
local RED
static
const Color4B WHITE
static
var WHITE
static
local WHITE
static
const Color4B YELLOW
static
var YELLOW
static
local YELLOW
static

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