The org.openzoom.flash.viewport.constraints package contains the viewport constraint classes.
| Class | Description | |
|---|---|---|
| CenterConstraint | Centers the scene once it is all visible. | |
| CompositeConstraint | CompositeConstraint allows you to apply many different constraints at the same time. | |
| FillConstraint | Ensures that the scene always entirely fills the viewport. | |
| MapConstraint | Viewport constraint that ensures that the viewport only reaches zoom values that are powers of two. | |
| NullConstraint | NullConstraint doesn't aplly any constraints to a viewport. | |
| ScaleConstraint | Provides a way to limit the minimum and maximum scale the scene can reach. | |
| VisibilityConstraint | Provides basic bounds checking by ensuring that a certain ratio of the scene is always visible. | |
| ZoomConstraint | Provides a way to limit the minimum and maximum zoom the viewport can reach. |