File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 11import common = require( "./drawingpad-common" ) ;
22export 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}
Original file line number Diff line number Diff line change 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." ,
You can’t perform that action at this time.
0 commit comments