File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,22 @@ From your command prompt/termial go to your app's root folder and execute:
20
20
</Page >
21
21
```
22
22
23
+ ``` JS
24
+ var frame = require (" ui/frame" );
25
+ function getDrawing (args ) {
26
+ // get reference to the drawing pad
27
+ var pad = frame .topmost ().currentPage .getViewById (" drawingPad" );
28
+ // then access the 'drawing' property of the signaturepad;
29
+ var drawingImage = pad .drawing ;
30
+ }
31
+ exports .getDrawing = getDrawing;
32
+ ```
33
+
23
34
## Attributes
24
35
** penColor - (color string)** - * optional*
25
36
26
- Attribute to specify the pen(stroke) color to use.
37
+ Attribute to specify the pen (stroke) color to use.
27
38
28
39
** penWidth - (int)** - * optional*
29
40
30
- Attribute to specify the pen(stroke) width to use.
41
+ Attribute to specify the pen (stroke) width to use.
You can’t perform that action at this time.
0 commit comments