diff --git a/src/PIXI.d.ts b/src/PIXI.d.ts index 80322a0..12384dd 100644 --- a/src/PIXI.d.ts +++ b/src/PIXI.d.ts @@ -34,11 +34,15 @@ declare global { } export class Rectangle extends PixiRectangle { + get center(): { x: number; y: number }; toPolygon(): Polygon; + getBounds(): Rectangle; } export class Circle extends PixiCircle { + get center(): { x: number; y: number }; toPolygon(options?: { density?: number; includeEndpoints?: boolean }): Polygon; + getBounds(): Rectangle; } export {