graphic-pixi/lib/utils/index.d.ts

27 lines
802 B
TypeScript
Raw Normal View History

2023-12-12 17:31:07 +08:00
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;
}