API Documentation | All Packages | All Classes | Index | Frames | ![]() |
Interface IViewportTransformContainer | Properties | Methods | |
Package | org.openzoom.flash.viewport |
Interface | public interface IViewportTransformContainer extends IViewportTransform, IDisposable |
Implementors | ViewportTransform |
Method | Defined by | ||
---|---|---|---|
![]() |
Returns a new IViewportTransform object with the same values for the
x, y, width, height and zoom properties as the original IViewportTransform object.
| IViewportTransform | |
![]() |
contains(x:Number, y:Number):Boolean
Determines whether the specified point is contained within this Viewport object.
| IViewportTransform | |
![]() |
copy(other:IViewportTransform):void
Copy values from other to this instance of IViewportTransform.
| IViewportTransform | |
![]() |
dispose():void
Releases all resources this object holds on to.
| IDisposable | |
![]() |
equals(other:IViewportTransform):Boolean
Determines whether the object specified in the
other parameter is equal to this Rectangle object.
| IViewportTransform | |
![]() |
fitToBounds(bounds:Rectangle, scale:Number = 1.0):void
Show an area of the scene inside the viewport.
| IViewportTransform | |
![]() |
getBounds():Rectangle
Returns a Rectangle object with the bounds of the viewport.
| IViewportTransform | |
![]() |
intersection(toIntersect:Rectangle):Rectangle
If the Rectangle object specified in the toIntersect parameter intersects
with this Viewport object, returns the area of intersection as a Rectangle
object.
| IViewportTransform | |
![]() |
intersects(toIntersect:Rectangle):Boolean
Determines whether the object specified in the toIntersect parameter
intersects with this Viewport object.
| IViewportTransform | |
![]() |
panBy(deltaX:Number, deltaY:Number):void
Move the viewport.
| IViewportTransform | |
![]() |
panCenterTo(centerX:Number, centerY:Number):void
Move the viewport center.
| IViewportTransform | |
![]() |
panTo(x:Number, y:Number):void
Move the viewport.
| IViewportTransform | |
setSize(width:Number, height:Number):void
Sets viewportWidth and viewportHeight.
| IViewportTransformContainer | ||
![]() |
showAll():void
Fit entire scene into the viewport.
| IViewportTransform | |
![]() |
zoomBy(factor:Number, transformX:Number = 0.5, transformY:Number = 0.5):void
Zoom the viewport by a factor.
| IViewportTransform | |
![]() |
zoomTo(zoom:Number, transformX:Number = 0.5, transformY:Number = 0.5):void
Zoom the viewport to the given zoom level.
| IViewportTransform |