Releases: bigtimebuddy/pixi-svg
Releases · bigtimebuddy/pixi-svg
v3.2.0
v3.1.0
Add
- Fully-support arcs (i.e.,
a
andA
commands) in SVG by normalizing as bezier curves - Add support for
stroke-opacity
andfill-opacity
SVG attributes
v3.0.0
🔥 Breaking Changes
- Now ships ES2017 instead of ES5
🧹 Chores
- Officially support for PixiJS v7
- Convert source code to TypeScript
- Auto-generate types
v2.3.0
Added
- Support arcs draw command (#18) @markknol
- Add support for more stroke attributes in style property (#13) @ChairmanWill
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);
v2.1.1
v2.1.0
Changes
- Fixes bug with trailing spaces in
<path>
elementsd
attribute. - Added support to accept string in the constructor.
v2.0.0
Changes
- Supports PixiJS v5+ (including 5.3.0's upcoming implementation of lineJoin, lineCap and miterLimit for strokes)
- Fixed issues with inheritance of strokes in nested SVG elements
- Provide TypeScript declaration
- Fix absolute paths (#7) (thanks @DustinWoods)
- Fix trailing
;
on style (#5) (thanks @dpotekhin) - Upgraded to tinycolor2 to parse hex/rgb colors
- Replaced Travis CI with GitHub Actions
- Upgraded to Rollup to produce ESM, CommonJS and Browser bundles
1.0.1
Initial release