Sergio0694/UICompositionAnimations
A powerful and easy to use library to work with Composition and XAML animations and Win2D effects
• Fixed a crash in the `PipelineBuilder` with some languages
• Added `IsEnabled` property to all composition brushes, to switch to fallback • Added `AcrylicEffect` class to be used in a pipeline
• Added new `To<T>` extension method • Added missing attributes • Added new `[ContractAnnotation]` attributes where applicable
• New size animation APIs • Minor bug fixes
• New API overloads added to use a relative path string to load images • Minor bug fixes
• Major API refactoring of the whole library • All the animation APIs now use the fluent pattern • Remove unnecessary legacy APIs (eg. XAML light APIs)
• Added a new `PipelineBrush` API to create Composition/Win2D pipelines directly from XAML
• Minimum SDK is now Windows 10 build 17134 (April Update) • Added new composition pipeline APIs • Win2D bitmaps cache improved • Removed unnecessary APIs and NuGet packages • Bug fixes and code refactoring
• Added the ability to target either the `Translation` property or the `Offset` property when running a translation Composition animation • Performance optimizations to the reveal highlight brush effects toolchain • Minor changes
• The `CustomAcrylicBrush` object now also has a parameter to use an animation of a given length when updating the blur value (only if the mode is the in-app blur) • Added a new composition fade + scale + rotation composite animation • Minor changes and bug fixes
• Added an additional parameter to the custom acrylic brush to disable the cache when using the brush on a secondary window to avoid crashes • Fixed a possible crash when using the custom acrylic brush on a secondary window
• The XAML custom acrylic brush now caches and reuses all the `CompositionBackdropBrush` instances • Added a new API to manually clear the internal cache of the custom acrylic brush
• XAML designer glitch fixed in the LightsSourceHelper class • Added an exception message if the LightsSourceHelper class is used before calling the `Initialize` method
• Added LightsSourceHelper class to quickly add XAML lights to a control • New API to remove the added pointer handlers from a target `UIElement` • Minor code changes
• Added a new wrapper class around the `ExpressionAnimation` to easily change the custom expression parameter after starting the animation • Minor bug fixes
• Custom acrylic brush noise texture now in high-res on high DPI screens • Added two APIs to load a Win2D image • Added an option to clear the current Win2D images cache • Added an overload for each available animation method to specify a custom beizer curve easing function • Added a fallback color option to the custom acrylic brush that also works when running on a device • Bug fixes and code refactoring
• Improved the custom acrylic brush fallback mode • Bug fixes
• Improved the noise texture rendering in the custom acrylic brush • Added a new cache mode property to the custom acrylic brush • Bug fixes, code refactoring
📋 Changes
- `PointerHelper` class added to quickly manage control pointer states
- Added some APIs to easily detect whether the current device is a phone or a desktop
- Minor fixes
📋 Changes
- Added new `SpotLight` attenuation property
- Removed the `SpotLight` alpha property as it was unnecessary
- Minor code refactoring and improvements
📋 Changes
- Added custom XAML light brush and effects
- Added helper class to gather APIs info
📋 Changes
- Added the ability to use the shared `CanvasDevice` instance when creating attached effects
📋 Changes
- The attached effects can now be created from background threads
- Minor code refactoring
📋 Changes
- Improved the `Dispose` method for attached effects
- Minor code refactoring
