Packagestencyl.api.engine.bg
Classpublic class ParallaxViewport
InheritanceParallaxViewport Inheritance BasicViewport Inheritance MyViewport Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedclip : Rectangle
MyViewport
 Inheritedvh : int
MyViewport
 Inheritedvw : int
MyViewport
 Inheritedvx : int
MyViewport
 Inheritedvy : int
MyViewport
Public Methods
 MethodDefined By
  
ParallaxViewport(area:Area, width:int, height:int)
ParallaxViewport
 Inherited
centerOn(x:int, y:int, width:int, height:int):void
MyViewport
 Inherited
MyViewport
 Inherited
getClip():Rectangle
MyViewport
 Inherited
getX():int
MyViewport
 Inherited
getY():int
MyViewport
 Inherited
setDimension(width:int, height:int):void
MyViewport
  
setPosition(x:int, y:int):void
[override]
ParallaxViewport
 Inherited
setX(x:int):void
MyViewport
 Inherited
setY(y:int):void
MyViewport
Constructor Detail
ParallaxViewport()Constructor
public function ParallaxViewport(area:Area, width:int, height:int)



Parameters
area:Area
 
width:int
 
height:int
Method Detail
setPosition()method
override public function setPosition(x:int, y:int):void

Parameters

x:int
 
y:int