C

ViewportDescriptor

Describes a possible viewport for a CanvasComponent.
Inheritance Hierarchy

Remarks

This class is used by ViewportLimiter. CanvasComponent will request changes to the limiter using instances of this type and the results will also be communicated using instances of it.

center corresponds to the requested center and zoom to zoom.

See Also

Developer's Guide

API

viewport, center, zoom, ViewportLimiter

Members

No filters for this type

Constructors

Creates a new instance with the specified center and zoom.

Parameters

center: Point
The requested center of the viewport.
zoom: number
The requested new zoom value.

Properties

The value to apply to the center
readonlyfinal

See Also

Developer's Guide
The value to apply to the zoom
readonlyfinal

See Also

Developer's Guide