{"version":3,"file":"index.mjs","sources":["../src/index.ts"],"sourcesContent":["/// <reference path=\"../global.d.ts\" />\nimport { Graphics } from '@pixi/graphics';\nimport { drawChamferRect } from './drawChamferRect';\nimport { drawFilletRect } from './drawFilletRect';\nimport { drawRegularPolygon } from './drawRegularPolygon';\nimport { drawRoundedPolygon } from './drawRoundedPolygon';\nimport { drawRoundedShape } from './drawRoundedShape';\nimport { drawStar } from './drawStar';\nimport { drawTorus } from './drawTorus';\n\nexport interface IGraphicsExtras\n{\n    drawTorus: typeof drawTorus;\n    drawChamferRect: typeof drawChamferRect;\n    drawFilletRect: typeof drawFilletRect;\n    drawRegularPolygon: typeof drawRegularPolygon;\n    drawRoundedPolygon: typeof drawRoundedPolygon;\n    drawRoundedShape: typeof drawRoundedShape;\n    drawStar: typeof drawStar;\n}\n\n// Assign extras to Graphics\nObject.defineProperties(Graphics.prototype, {\n    drawTorus: { value: drawTorus },\n    drawChamferRect: { value: drawChamferRect },\n    drawFilletRect: { value: drawFilletRect },\n    drawRegularPolygon: { value: drawRegularPolygon },\n    drawRoundedPolygon: { value: drawRoundedPolygon },\n    drawRoundedShape: { value: drawRoundedShape },\n    drawStar: { value: drawStar },\n});\n"],"names":[],"mappings":";;;;;;;;AAsBA,OAAO,iBAAiB,SAAS,WAAW;AAAA,EACxC,WAAW,EAAE,OAAO,UAAU;AAAA,EAC9B,iBAAiB,EAAE,OAAO,gBAAgB;AAAA,EAC1C,gBAAgB,EAAE,OAAO,eAAe;AAAA,EACxC,oBAAoB,EAAE,OAAO,mBAAmB;AAAA,EAChD,oBAAoB,EAAE,OAAO,mBAAmB;AAAA,EAChD,kBAAkB,EAAE,OAAO,iBAAiB;AAAA,EAC5C,UAAU,EAAE,OAAO,SAAS;AAChC,CAAC;"}