Skip to content

Releases: mgierlasinski/MagicGradients

Magic Gradients 1.3.1

10 Sep 06:32
ba38918
Compare
Choose a tag to compare

Features

  • Add HorizontalTextAlignment and VerticalTextAlignment to TextMask (#171)

Bug fixes

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

Magic Gradients 1.3.0

26 Apr 11:02
39efb6c
Compare
Choose a tag to compare

Features

  • Gradient clipping masks 🎭 (#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)

Magic Gradients 1.2.0

06 Nov 13:36
a67ebbf
Compare
Choose a tag to compare

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 from MagicGradients to MagicGradients.Builder namespace.

Bug fixes

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

Magic Gradients 1.1.1

15 Aug 14:58
492ec6d
Compare
Choose a tag to compare

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 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)

Magic Gradients 1.1.0

12 Aug 16:37
a0e979b
Compare
Choose a tag to compare

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)

🔥 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

12 Aug 17:46
Compare
Choose a tag to compare

Features

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