CCNodeColor Class Reference
| Inherits from | CCNode : CCResponder : NSObject |
| Conforms to | CCBlendProtocol CCShaderProtocol |
| Declared in | CCNodeColor.h |
Class Methods
Instance Methods
initWithColor:
Initializes a node with color. Width and height are the window size.
- (id)initWithColor:(CCColor *)colorParameters
- color
Color of the node.
Return Value
An initialized CCNodeColor Object.
Declared In
CCNodeColor.hinitWithColor:width:height:
Initializes a node with color, width and height in Points.
- (id)initWithColor:(CCColor *)color width:(GLfloat)w height:(GLfloat)hParameters
- color
Color of the node.
- w
Width of the node.
- h
Height of the node.
Return Value
An initialized CCNodeColor Object.
Declared In
CCNodeColor.h