v2.2.0
Added
- Adds a
drawSVG
method and makes thesvg
argument optional in the constructor. This enables re-using SVG objects as well as draw multiple<svg>
elements to a single Graphics object.
const svg = new PIXI.SVG();
svg.clear();
svg.drawSVG(svgBufferOrElement);