UNPKG

gl2d

Version:

2D graphics package for WebGL

16 lines (15 loc) 568 B
import { _Surface } from '../rendering/surface'; import { Point } from '../struct/point'; import { Status } from './status'; import { SurfaceEvent } from './surface'; export interface SurfaceTouchEvent<S extends _Surface> extends SurfaceEvent<S, TouchEvent> { /** * The status of this action: Start, Move, End, or Leave. */ status: Status; /** * The position in world space of each of the pointers that are currently down. */ pointers: Point[]; } export declare type _SurfaceTouchEvent = SurfaceTouchEvent<_Surface>;