Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)