MagicGradients Versions Save

Draw breathtaking backgrounds in your Xamarin.Forms application. It's a kind of magic.

release-1.3.1

2 years ago

Features

  • Add HorizontalTextAlignment and VerticalTextAlignment to TextMask (#171)

Bug fixes

  • Fix TextMask crash when Text is null (#173)

release-1.3.0

3 years ago

Features

  • Gradient clipping masks :performing_arts: (#131)
  • XAML custom namespace schema (#162)
  • GPU accelerated rendering (#159)
  • Linear Gradient - new rendering based on CSS specification (#151)
  • Radial Gradient - support CSS custom size (#140)
  • Improved CSS support for C# API (#141)

Bug fixes

  • Single-Stop Gradients Are Off-Color (#132)
  • Transparent color rendered as white (#156)

release-1.2.0

3 years ago

Features

  • New Gradient Builder fluent API (#94)
  • Add support for background size to handle complex CSS patterns (#95)
  • :zap: Gradient Animations with XAML API (preview) :zap: (#119)

:boom: Breaking changes

  • GradientBuilder has been moved from MagicGradients to MagicGradients.Builder namespace.

Bug fixes

  • Radial gradient: CSS parser swallows first color (#114)

release-1.1.1

3 years ago

Features

  • Add support for color offset in pixels - improves parsing CSS gradients where color stops are in px (#89)

:boom: Breaking changes

  • GradientStop.Offset - change type from double to Offset struct

Bug fixes

  • Linear gradient - angle "0" recognized as color (#88)
  • Fix crash in Xamarin.Forms 4.8 - An item with the same key has already been added. Key: background (#107)

release-1.0.0

3 years ago

Features

  • Initial public stable release
  • Support for LinearGradient, RadialGradient, GradientCollection
  • CSS styling - inline or stylesheets file, background property support for GradientView

release-1.1.0

3 years ago

Features

  • GradientView, LinearGradient and RadialGradient properties are now dynamic, they will trigger repainting of GradientView when any data changes. It can be usefull to change gradients in runtime or even do some animations with Xamarin.Forms animation system (look into Playground project for examples).
  • Added Bindable Properties - bind gradient data with your View Model
  • Added [ContentProperty] attribute to GradientSource property - gradient(s) can be defined as direct children of GradientView control
  • Calculate color offsets if not defined in XAML, similar to CSS gradients (Details | Pull Request)

:fire: New features blog post :fire:

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)