Interface ITouchEvent

interface ITouchEvent {
    _x: number;
    _y: number;
    downX: number;
    downY: number;
    localX: number;
    localY: number;
    type: TouchEventType;
    x: number;
    y: number;
    hasMovedSinceLastDown(): boolean;
    localPosAsScriptable(): {
        x: number;
        y: number;
    };
    posAsScriptable(): {
        x: number;
        y: number;
    };
    preparePosition(win: Window, rect: Rect): void;
    update(event: MotionEvent): void;
}

Methods

  • Returns {
        x: number;
        y: number;
    }

    • x: number
    • y: number
  • Returns {
        x: number;
        y: number;
    }

    • x: number
    • y: number

Properties

_x: number
_y: number
downX: number
downY: number
localX: number
localY: number
x: number
y: number

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.