Releases: mgierlasinski/MagicGradients
Releases · mgierlasinski/MagicGradients
Magic Gradients 1.3.1
Magic Gradients 1.3.0
Magic Gradients 1.2.0
Features
- New Gradient Builder fluent API (#94)
- Add support for background size to handle complex CSS patterns (#95)
- ⚡ Gradient Animations with XAML API (preview) ⚡ (#119)
💥 Breaking changes
GradientBuilder
has been moved fromMagicGradients
toMagicGradients.Builder
namespace.
Bug fixes
- Radial gradient: CSS parser swallows first color (#114)
Magic Gradients 1.1.1
Features
- Add support for color offset in pixels - improves parsing CSS gradients where color stops are in px (#89)
💥 Breaking changes
GradientStop.Offset
- change type fromdouble
toOffset
struct
Bug fixes
Magic Gradients 1.1.0
Features
GradientView
,LinearGradient
andRadialGradient
properties are now dynamic, they will trigger repainting ofGradientView
when any data changes. It can be usefull to change gradients in runtime or even do some animations with Xamarin.Forms animation system (look intoPlayground
project for examples).- Added Bindable Properties - bind gradient data with your View Model
- Added
[ContentProperty]
attribute toGradientSource
property - gradient(s) can be defined as direct children ofGradientView
control - Calculate color offsets if not defined in XAML, similar to CSS gradients (Details | Pull Request)
🔥 New features blog post 🔥
Bug fixes
- CSS color stops defined in pixels are now drawn correctly
- Fixed bug with converting double values for HSL and HSLA Colors (Details | Pull Request)
Magic Gradients 1.0.0
Features
- Initial public stable release
- Support for
LinearGradient
,RadialGradient
,GradientCollection
- CSS styling - inline or stylesheets file,
background
property support forGradientView