Skip to main content

CCLayerMultiGradient

CCLayerMultiGradient

Cocos2D

Inheritance: System.Object → Cocos2D.CCNode → Cocos2D.CCDrawNode

Implements: Cocos2D.ICCSelectorProtocol, Cocos2D.ICCFocusable, Cocos2D.ICCTargetedTouchDelegate, Cocos2D.ICCStandardTouchDelegate, Cocos2D.ICCTouchDelegate, Cocos2D.ICCKeypadDelegate, Cocos2D.ICCKeyboardDelegate, Cocos2D.ICCRGBAProtocol, System.Collections.Generic.IComparer{Cocos2D.CCNode}

Constructors

CCLayerMultiGradient(CCColor4B[], float[], float, float, bool)

CCLayerMultiGradient(CCColor4B[], float[], float, float, bool)(Cocos2D.CCColor4B[] colors, System.Single[] positions, System.Single width, System.Single height, System.Boolean vertical)
Parameters:
colors (Cocos2D.CCColor4B[])
positions (System.Single[])
width (System.Single)
height (System.Single)
vertical (System.Boolean)

Methods

SetGradient(CCColor4B[], float[])

SetGradient(CCColor4B[], float[])(Cocos2D.CCColor4B[] colors, System.Single[] positions)
Parameters:
colors (Cocos2D.CCColor4B[])
positions (System.Single[])

SetSize(float, float)

SetSize(float, float)(System.Single width, System.Single height)
Parameters:
width (System.Single)
height (System.Single)