File tree 2 files changed +18
-3
lines changed 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1
1
import common = require( "./drawingpad-common" ) ;
2
2
export declare class DrawingPad extends common . DrawingPad {
3
- private _android ;
4
3
android : any ;
4
+ ios : any ;
5
5
_nativeView : any ;
6
- _createUI ( ) : void ;
6
+
7
+ /**
8
+ * Returns native image.
9
+ */
7
10
getDrawing ( ) : Promise < any > ;
11
+
12
+ /**
13
+ * Returns a bitmap with a transparent background *** ANDROID ONLY ***
14
+ */
8
15
getTransparentDrawing ( ) : Promise < any > ;
16
+
17
+ /**
18
+ * Returns a Scalable Vector Graphics document *** ANDROID ONLY ***
19
+ */
9
20
getDrawingSvg ( ) : Promise < any > ;
21
+
22
+ /**
23
+ * Clears the drawing from the DrawingPad.
24
+ */
10
25
clearDrawing ( ) : any ;
11
26
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nativescript-drawingpad" ,
3
- "version" : " 1.1.0 " ,
3
+ "version" : " 1.1.1 " ,
4
4
"main" : " drawingpad.js" ,
5
5
"typings" : " index.d.ts" ,
6
6
"description" : " A NativeScript plugin to provide a way to capture any drawing (signatures are a common use case) from the device screen." ,
You can’t perform that action at this time.
0 commit comments