Releases: zeevallin/gradient
Releases · zeevallin/gradient
v0.5.1
- Fix to use stable sort algorithm for points in gradient map
v0.5.0
- Support parsing
.svg
files in to Gradient maps using Gradient::SVG.parse
(credit: @jjgreen)
- Interpolating points on a gradient map (credit: @jjgreen)
v0.4.0
- Allow
Gradient::Map
and Gradient::Point
to be serialized/deserialized to primitives using the methods #serialize
& .deserialize
v0.3.0
- Changed the API for
Gradient::Map
to be invoked by using an array of Gradient::Point
rather two arrays of Gradient::ColorPoint
and Gradient::OpacityPoint
- Introduced
Gradient::PointMerger
to take on the previous responsibility of Gradient::Map
v0.2.4
- Allow parsing of larger .grd files
- Fix some parsing errors to recover from corrupt segments
v0.2.3
- Fix bug in .grd parsing where colors did not get properly turned in to RGB
v0.2.2
- Fix bug where you couldn't initialise a gradiant map with one or fewer points