CCColorLayer Class Reference
| Inherits from | CCLayer : CCNode : NSObject |
| Conforms to | CCBlendProtocol CCRGBAProtocol |
| Declared in | CCLayer.h |
Overview
CCColorLayer is a subclass of CCLayer that implements the CCRGBAProtocol protocol.
All features from CCLayer are valid, plus the following new features: – opacity – RGB colors
Tasks
-
+ layerWithColor:width:height:creates a CCLayer with color, width and height
-
+ layerWithColor:creates a CCLayer with color. Width and height are the window size.
-
– initWithColor:width:height:initializes a CCLayer with color, width and height
-
– initWithColor:initializes a CCLayer with color. Width and height are the window size.
-
– changeWidth:change width
-
– changeHeight:change height
-
– changeWidth:height:change width and height
-
opacityOpacity: conforms to CCRGBAProtocol protocol
property -
colorOpacity: conforms to CCRGBAProtocol protocol
property -
blendFuncBlendFunction. Conforms to CCBlendProtocol protocol
property
Properties
blendFunc
BlendFunction. Conforms to CCBlendProtocol protocol
@property (nonatomic, readwrite) ccBlendFunc blendFuncDeclared In
CCLayer.h