FaulandCc.Maui.GesturePatternView 1.0.0-preview

This is a prerelease version of FaulandCc.Maui.GesturePatternView.
There is a newer version of this package available.
See the version list below for details.
dotnet add package FaulandCc.Maui.GesturePatternView --version 1.0.0-preview                
NuGet\Install-Package FaulandCc.Maui.GesturePatternView -Version 1.0.0-preview                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FaulandCc.Maui.GesturePatternView" Version="1.0.0-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FaulandCc.Maui.GesturePatternView --version 1.0.0-preview                
#r "nuget: FaulandCc.Maui.GesturePatternView, 1.0.0-preview"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FaulandCc.Maui.GesturePatternView as a Cake Addin
#addin nuget:?package=FaulandCc.Maui.GesturePatternView&version=1.0.0-preview&prerelease

// Install FaulandCc.Maui.GesturePatternView as a Cake Tool
#tool nuget:?package=FaulandCc.Maui.GesturePatternView&version=1.0.0-preview&prerelease                

GesturePatternViewXF

A gesture pattern view for Xamarin.Forms and MAUI. This is an Android-like gesture pattern view you can use for logins.

Setup

Platform Support

  • Xamarin.iOS, iOS 8+
  • Xamarin.Android, API 15+
  • Windows 10, UWP 10+
  • net6.0-iOS, iOS 8+
  • net6.0-android, API 15+
  • net6.0-windows

Usage

  • Add the GesturePatternView to your XAML.
  • For .NET MAUI add '.UseSkiaSharp()' to your MauiAppBuilder.
Properties (all bindable)
  • HorizontalTouchPoints = The number of horizontal touch points to create.
  • VerticalTouchPoints = The number of vertical touch points to create.
  • GesturePatternValue = The total value of the touched touch points.
  • TouchPointColor = The color to use for untouched touch points.
  • TouchPointHightlightTextColor = The color to use for touched touch points.
  • TouchPointStrokeWidth = The stroke width of a touch point.
  • TouchPointTouchedStrokeWidth = The stroke width of a touched touch point.
  • TouchPointInnerCircleStrokeWidth = The stroke width of a touch point's inner circle.
  • LineDrawingColor = The color to use for a drawing line.
  • LineDrawingStrokeWidth = The stroke width of a drawing line.
  • LineDrawnColorProperty = The color to use for a drawn line.
  • LineDrawnStrokeWidth = The stroke width of a drawn line.
  • Vibrate = Vibrate when touching a touch point.
  • GestureCompletedCommand = Command is executed when gesture pattern completed. (.NET MAUI)
Screenshot

gesture pattern view

Contributions

Contributions are welcome! If you find a bug please report it and if you want a feature please report it. If you want to contribute code please file an issue and create a branch off of the current dev branch and file a pull request.

License

Under MIT, see LICENSE file.

Note

This is my very first project here on GitHub including a NuGet package. I took the readme.md of James Montemagno's VibratePlugin as a template. Thank you!

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-android31.0 is compatible.  net6.0-ios was computed.  net6.0-ios15.2 is compatible.  net6.0-maccatalyst was computed.  net6.0-maccatalyst15.2 is compatible.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows10.0.19041 is compatible.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 453 11/8/2022
1.0.1-preview 144 2/15/2022
1.0.0-preview 119 2/15/2022

Add MAUI support