Info
Version: | 1.2.1 |
Author(s): | Jean-Marie Alfonsi |
Last Update: | Wednesday, July 20, 2022 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/roubachof/Sharpnado.Shadows |
NuGet Url: | https://www.nuget.org/packages/Sharpnado.Shadows |
Install
Install-Package Sharpnado.Shadows
dotnet add package Sharpnado.Shadows
paket add Sharpnado.Shadows
Sharpnado.Shadows Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 2.0
- ThomasLevesque.WeakEvent(>= 4.1.0)
- Xamarin.Forms(>= 3.6.0.220655)
- ThomasLevesque.WeakEvent(>= 4.1.0)
- Xamarin.Forms(>= 3.6.0.220655)
- ThomasLevesque.WeakEvent(>= 4.1.0)
- Xamarin.Forms(>= 3.6.0.220655)
- Tizen.NET(>= 4.0.0)
- SkiaSharp.Views(>= 1.68.3)
- ThomasLevesque.WeakEvent(>= 4.1.0)
- Xamarin.Forms(>= 3.6.0.220655)
- Microsoft.UI.Xaml(>= 2.1.190606001)
- ThomasLevesque.WeakEvent(>= 4.1.0)
- Xamarin.Forms(>= 3.6.0.220655)
Tags
* You can specify each shadow Color, Opacity, Blur, and Offset
* You can add one shadow, 3 shadows, 99 shadows, to any Xamarin.Forms element
* Implement easily Neumorphism
* Animate any of these property and make the shadows dance around your elements
* The only dependency is `Xamarin.Forms`, no `AndroidX`, no `SkiaSharp` (except Tizen) needed!
Performance: Implemented with custom draw on Android, CALayer on iOS, SpriteVisual on UWP, SkiaSharp on Tizen.
Mandatory initialization on iOS:
Xamarin.Forms.Forms.Init();
Sharpnado.Shades.iOS.iOSShadowsRenderer.Initialize();
Mandatory initialization on UWP:
var rendererAssemblies = new[] { typeof(UWPShadowsRenderer).GetTypeInfo().Assembly };
Xamarin.Forms.Forms.Init(e, rendererAssemblies);
Mandatory initialization on Tizen:
Xamarin.Forms.Forms.Init();
Sharpnado.Shades.Tizen.TizenShadowsRenderer.Initialize();.