Skip to content

v2.2.0

Compare
Choose a tag to compare
@bigtimebuddy bigtimebuddy released this 27 May 14:10

Added

  • Adds a drawSVG method and makes the svg 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);