Packageorg.openzoom.flash.viewport.constraints
Classpublic final class FillConstraint
ImplementsIViewportConstraint

Ensures that the scene always entirely fills the viewport.



Public Methods
 MethodDefined by
  
Constructor.
FillConstraint
  
Validate the viewport transform by performing transformations until it validates all constraints.
FillConstraint
Constructor detail
FillConstraint()constructor
public function FillConstraint()

Constructor.

Method detail
validate()method
public function validate(transform:IViewportTransform, target:IViewportTransform):IViewportTransform

Validate the viewport transform by performing transformations until it validates all constraints.

Parameters
transform:IViewportTransform — IViewportTransform object to be validated.
 
target:IViewportTransform — IViewportTransform object that represents the last validated transform.

Returns
IViewportTransform — Validated IViewportTransform object.