API Documentation | All Packages | All Classes | Index | Frames | ![]() |
Class ZoomConstraint | Properties | Methods | |
Package | org.openzoom.flash.viewport.constraints |
Class | public final class ZoomConstraint |
Implements | IViewportConstraint |
Property | Defined by | ||
---|---|---|---|
maxZoom : Number
Maximum zoom the viewport can reach.
| ZoomConstraint | ||
minZoom : Number
Minimum zoom the viewport can reach.
| ZoomConstraint |
Method | Defined by | ||
---|---|---|---|
Constructor.
| ZoomConstraint | ||
Validate the viewport transform by performing transformations until
it validates all constraints.
| ZoomConstraint |
maxZoom | property |
maxZoom:Number
[read-write]Maximum zoom the viewport can reach.
Implementation public function get maxZoom():Number
public function set maxZoom(value:Number):void
minZoom | property |
minZoom:Number
[read-write]Minimum zoom the viewport can reach.
Implementation public function get minZoom():Number
public function set minZoom(value:Number):void
ZoomConstraint | () | constructor |
public function ZoomConstraint()
Constructor.
validate | () | method |
public function validate(transform:IViewportTransform, target:IViewportTransform):IViewportTransform
Validate the viewport transform by performing transformations until it validates all constraints.
Parameterstransform:IViewportTransform — IViewportTransform object to be validated.
|
|
target:IViewportTransform — IViewportTransform object that represents the last validated transform.
|
IViewportTransform —
Validated IViewportTransform object.
|