Vector drawing - rectangles, circles, polygons, lines - under an MWG-owned name.
Pixi's own Graphics API (.rect(...).fill(...), .circle(...).stroke(...), moveTo/
lineTo) is already the right shape for this; wrapping it class-for-method would only
duplicate an API this project does not own and would drift from every Pixi upgrade. The
bare re-export is what lets a game draw shapes without importing pixi.js itself.
Vector drawing - rectangles, circles, polygons, lines - under an MWG-owned name.
Pixi's own
GraphicsAPI (.rect(...).fill(...),.circle(...).stroke(...),moveTo/lineTo) is already the right shape for this; wrapping it class-for-method would only duplicate an API this project does not own and would drift from every Pixi upgrade. The bare re-export is what lets a game draw shapes without importingpixi.jsitself.Example