27 lines
802 B
TypeScript
27 lines
802 B
TypeScript
import { Point, Rectangle } from 'pixi.js';
|
|
export * from './GraphicUtils';
|
|
export * from './IntersectUtils';
|
|
export * from './debounce';
|
|
export declare const UP: Point;
|
|
export declare const DOWN: Point;
|
|
export declare const LEFT: Point;
|
|
export declare const RIGHT: Point;
|
|
/**
|
|
* 越界结果
|
|
*/
|
|
export declare class OutOfBound {
|
|
left: boolean;
|
|
top: boolean;
|
|
right: boolean;
|
|
bottom: boolean;
|
|
constructor(left: boolean, top: boolean, right: boolean, bottom: boolean);
|
|
static check(rect: Rectangle, bound: Rectangle): OutOfBound;
|
|
static none(): OutOfBound;
|
|
static leftOut(): OutOfBound;
|
|
static topOut(): OutOfBound;
|
|
static rightOut(): OutOfBound;
|
|
static bottomOut(): OutOfBound;
|
|
static leftTopOut(): OutOfBound;
|
|
static rightBottomOut(): OutOfBound;
|
|
}
|