Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chsword/zou.signature
Xamarin Android Signature Pad, can export bitmap / svg
https://github.com/chsword/zou.signature
android signature svg touch xamarin
Last synced: 27 days ago
JSON representation
Xamarin Android Signature Pad, can export bitmap / svg
- Host: GitHub
- URL: https://github.com/chsword/zou.signature
- Owner: chsword
- Created: 2016-08-24T09:42:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-21T17:16:12.000Z (almost 8 years ago)
- Last Synced: 2024-11-17T15:53:45.599Z (3 months ago)
- Topics: android, signature, svg, touch, xamarin
- Language: C#
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Zou.Signature
[![Build status](https://ci.appveyor.com/api/projects/status/g1bbe17lw4a4linl?svg=true)](https://ci.appveyor.com/project/chsword/zou-signature)
### Install
``` powershell
Install-Package Zou.Signature
```
### Example![image](https://cloud.githubusercontent.com/assets/274085/17927337/cc0ed51c-6a27-11e6-80e8-c32b88e7ac23.png)
### Sample Code
**axml:**``` xml
```
**activity:**
``` csharp
public class MainActivity : Activity
{protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.Main);
var view = FindViewById(Resource.Id.view);
Button clear = FindViewById(Resource.Id.clear);
clear.Click += (s, e) =>
{
view.Clear();
};
Button getsvg = FindViewById(Resource.Id.getsvg);
getsvg.Click += (s, e) =>
{
var svg = view.GetSVGString();
var bitmap = view.GetBitmap();
};
}
}
```### Reference
[https://github.com/Batzee/Pocket-Signature-View-Android](https://github.com/Batzee/Pocket-Signature-View-Android)