- getPool<K>(key): {
bitmapTextData: Pool<BitmapTextData, [fontData: string]>;
bounds: Pool<Bounds, [vertices?: Vector2d[] | Point[]]>;
color: Pool<Color, [r?: string | number | Color, g?: number, b?: number, alpha?: number]>;
ellipse: Pool<Ellipse, [x: number, y: number, width: number, height: number]>;
line: Pool<Line, [x: number, y: number, points: LineVertices]>;
matrix2d: Pool<Matrix2d, ConstructorArg>;
matrix3d: Pool<Matrix3d, ConstructorArg>;
particle: Pool<Particle, [emitter: ParticleEmitter]>;
point: Pool<Point, [x?: number, y?: number]>;
polygon: Pool<Polygon, [x: number, y: number, vertices: PolygonVertices]>;
rectangle: Pool<Rect, [x: number, y: number, width: number, height: number]>;
roundedRectangle: Pool<RoundRect, [x: number, y: number, width: number, height: number, radius?: number]>;
tween: Pool<Tween, [obj: object]>;
vector2d: Pool<Vector2d, [x?: number, y?: number]>;
vector3d: Pool<Vector3d, [x?: number, y?: number, z?: number]>;
}[K] Type Parameters
- K extends
| "color"
| "ellipse"
| "line"
| "polygon"
| "vector2d"
| "vector3d"
| "point"
| "matrix2d"
| "matrix3d"
| "bounds"
| "rectangle"
| "roundedRectangle"
| "tween"
| "particle"
| "bitmapTextData"
Returns {
bitmapTextData: Pool<BitmapTextData, [fontData: string]>;
bounds: Pool<Bounds, [vertices?: Vector2d[] | Point[]]>;
color: Pool<Color, [r?: string | number | Color, g?: number, b?: number, alpha?: number]>;
ellipse: Pool<Ellipse, [x: number, y: number, width: number, height: number]>;
line: Pool<Line, [x: number, y: number, points: LineVertices]>;
matrix2d: Pool<Matrix2d, ConstructorArg>;
matrix3d: Pool<Matrix3d, ConstructorArg>;
particle: Pool<Particle, [emitter: ParticleEmitter]>;
point: Pool<Point, [x?: number, y?: number]>;
polygon: Pool<Polygon, [x: number, y: number, vertices: PolygonVertices]>;
rectangle: Pool<Rect, [x: number, y: number, width: number, height: number]>;
roundedRectangle: Pool<RoundRect, [x: number, y: number, width: number, height: number, radius?: number]>;
tween: Pool<Tween, [obj: object]>;
vector2d: Pool<Vector2d, [x?: number, y?: number]>;
vector3d: Pool<Vector3d, [x?: number, y?: number, z?: number]>;
}[K]