Skip to content

Commit 05e751c

Browse files
committed
bump/add comments to def
1 parent 7f989de commit 05e751c

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

index.d.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
11
import common = require("./drawingpad-common");
22
export declare class DrawingPad extends common.DrawingPad {
3-
private _android;
43
android: any;
4+
ios: any;
55
_nativeView: any;
6-
_createUI(): void;
6+
7+
/**
8+
* Returns native image.
9+
*/
710
getDrawing(): Promise<any>;
11+
12+
/**
13+
* Returns a bitmap with a transparent background *** ANDROID ONLY ***
14+
*/
815
getTransparentDrawing(): Promise<any>;
16+
17+
/**
18+
* Returns a Scalable Vector Graphics document *** ANDROID ONLY ***
19+
*/
920
getDrawingSvg(): Promise<any>;
21+
22+
/**
23+
* Clears the drawing from the DrawingPad.
24+
*/
1025
clearDrawing(): any;
1126
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-drawingpad",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"main": "drawingpad.js",
55
"typings": "index.d.ts",
66
"description": "A NativeScript plugin to provide a way to capture any drawing (signatures are a common use case) from the device screen.",

0 commit comments

Comments
 (0)