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



Public Properties
 PropertyDefined By
 Inheritedclip : Rectangle
MyViewport
 Inheritedvh : int
MyViewport
 Inheritedvw : int
MyViewport
 Inheritedvx : int
MyViewport
 Inheritedvy : int
MyViewport
Public Methods
 MethodDefined By
  
BasicViewport(area:Area, width:int, height:int)
BasicViewport
 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]
BasicViewport
 Inherited
setX(x:int):void
MyViewport
 Inherited
setY(y:int):void
MyViewport
Constructor Detail
BasicViewport()Constructor
public function BasicViewport(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