gl2d
Version:
2D graphics package for WebGL
16 lines (15 loc) • 530 B
TypeScript
import { _Surface } from '../rendering/surface';
import { Point } from '../struct/point';
import { Status } from './status';
import { SurfaceEvent } from './surface';
export interface SurfaceMouseEvent<S extends _Surface> extends SurfaceEvent<S, MouseEvent> {
/**
* The status of this action: Start, Move, End, or Leave.
*/
status: Status;
/**
* The position of the cursor in world space.
*/
cursor: Point;
}
export declare type _SurfaceMouseEvent = SurfaceMouseEvent<_Surface>;