Interface KmtInputContext

interface KmtInputContext {
    alignCoordinateSystem: boolean;
    canvas: HTMLCanvasElement;
    initialCursorPosition: Point;
    notifyOnPan: (delta: Point) => void;
    notifyOnRotate: (deltaRotation: number) => void;
    notifyOnZoom: (zoomAmount: number, anchorPoint: Point) => void;
    setInitialCursorPosition: (position: Point) => void;
}

Implemented by

Properties

alignCoordinateSystem: boolean
initialCursorPosition: Point
notifyOnPan: (delta: Point) => void
notifyOnRotate: (deltaRotation: number) => void
notifyOnZoom: (zoomAmount: number, anchorPoint: Point) => void
setInitialCursorPosition: (position: Point) => void