Packagestencyl.api.engine.bg
Classpublic class GradientBackground
InheritanceGradientBackground Inheritance Resource Inheritance Object
Implements Background



Public Properties
 PropertyDefined By
  bottomColor : uint
GradientBackground
 InheritedID : uint
Resource
 Inheritedname : String
Resource
  topColor : uint
GradientBackground
Public Methods
 MethodDefined By
  
GradientBackground(topColor:uint, bottomColor:uint)
GradientBackground
  
draw(cameraX:Number, cameraY:Number, screenWidth:Number, screenHeight:Number):void
GradientBackground
 Inherited
toString():String
Resource
  
update():void
GradientBackground
Property Detail
bottomColorproperty
public var bottomColor:uint

topColorproperty 
public var topColor:uint

Constructor Detail
GradientBackground()Constructor
public function GradientBackground(topColor:uint, bottomColor:uint)



Parameters
topColor:uint
 
bottomColor:uint
Method Detail
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