import { GestureEvent } from "./GestureEvent"; /** * Copyright 2014 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // Class: TransformGestureEvent export class TransformGestureEvent extends GestureEvent { static classInitializer: any = null; static classSymbols: string [] = null; static instanceSymbols: string [] = null; constructor(type: string, bubbles: boolean = true, cancelable: boolean = false, phase: string = null, localX: number = 0, localY: number = 0, scaleX: number = 1, scaleY: number = 1, rotation: number = 0, offsetX: number = 0, offsetY: number = 0, ctrlKey: boolean = false, altKey: boolean = false, shiftKey: boolean = false) { super(type, bubbles, cancelable, phase, localX, localY, ctrlKey, altKey, shiftKey); } // JS -> AS Bindings static GESTURE_ZOOM: string = "gestureZoom"; static GESTURE_PAN: string = "gesturePan"; static GESTURE_ROTATE: string = "gestureRotate"; static GESTURE_SWIPE: string = "gestureSwipe"; }