Package | stencyl.api.engine.bg |
Class | public class GradientBackground |
Inheritance | GradientBackground Resource Object |
Implements | Background |
Property | Defined By | ||
---|---|---|---|
bottomColor : uint | GradientBackground | ||
ID : uint | Resource | ||
name : String | Resource | ||
topColor : uint | GradientBackground |
Method | Defined By | ||
---|---|---|---|
GradientBackground(topColor:uint, bottomColor:uint) | GradientBackground | ||
draw(cameraX:Number, cameraY:Number, screenWidth:Number, screenHeight:Number):void | GradientBackground | ||
toString():String | Resource | ||
update():void | GradientBackground |
bottomColor | property |
public var bottomColor:uint
topColor | property |
public var topColor:uint
GradientBackground | () | Constructor |
public function GradientBackground(topColor:uint, bottomColor:uint)
topColor:uint | |
bottomColor:uint |
draw | () | method |
public function draw(cameraX:Number, cameraY:Number, screenWidth:Number, screenHeight:Number):void
Parameters
cameraX:Number | |
cameraY:Number | |
screenWidth:Number | |
screenHeight:Number |
update | () | method |
public function update():void