diff --git a/UICompositionAnimations/CompositionExtensions.cs b/UICompositionAnimations/CompositionExtensions.cs index 525d038..0417a25 100644 --- a/UICompositionAnimations/CompositionExtensions.cs +++ b/UICompositionAnimations/CompositionExtensions.cs @@ -854,8 +854,8 @@ public static async Task StartCompositionRollAnimationAsync(this FrameworkElemen /// The optional horizontal offset of the clip area of the shadow /// The optional vertical offset of the clip area of the shadow /// The object that hosts the shadow, and the itself - public static (SpriteVisual, DropShadow) GetVisualShadow( - [NotNull] FrameworkElement element, [NotNull] UIElement target, bool apply, + public static (SpriteVisual, DropShadow) AttachVisualShadow( + [NotNull] this FrameworkElement element, [NotNull] UIElement target, bool apply, float? width, float? height, Color color, float opacity, float offsetX = 0, float offsetY = 0, diff --git a/UICompositionAnimations/Properties/AssemblyInfo.cs b/UICompositionAnimations/Properties/AssemblyInfo.cs index 7097194..dfbd96f 100644 --- a/UICompositionAnimations/Properties/AssemblyInfo.cs +++ b/UICompositionAnimations/Properties/AssemblyInfo.cs @@ -23,6 +23,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.0.0")] +[assembly: AssemblyVersion("2.3.1.0")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: ComVisible(false)] \ No newline at end of file diff --git a/UICompositionAnimations/UICompositionAnimations.nuspec b/UICompositionAnimations/UICompositionAnimations.nuspec index 9ef75b7..efbe794 100644 --- a/UICompositionAnimations/UICompositionAnimations.nuspec +++ b/UICompositionAnimations/UICompositionAnimations.nuspec @@ -2,14 +2,14 @@ Sergio0694.UWP.UICompositionAnimations - 2.3.0.0 + 2.3.1.0 UICompositionAnimations A wrapper UWP PCL to work with Windows.UI.Composition and XAML animations, and Win2D effects Sergio Pedri Sergio Pedri https://github.com/Sergio0694/UICompositionAnimations false - Added a drop shadow extension method, code refactorings + Fixed an extension method signature Copyright 2017 uwp composition animations xaml csharp windows winrt universal app ui win2d graphics