Intro :
on 8 Aug i published my second extension paid [Painter] but today i publish version pro of it [Painter Pro]…
What is New :-
1- now you can draw with image in your asset or from device
2- now you can zoom in draw when you drawing
3- now you can multi-draw text in your drawing
4- set under line of text
5- now you can controll Eraser Width
…etc
All Blocks
Extension instructions 

On zoom listener
@realZoom ~float~ return true zoom factor of the picture
@zoom ~float~ return relative zoom factor of the picture

On draw listener

On Draw Saved
path ~String~ return path of image

Initialize add canvas view
@layout => your view
![]()
Clear draw
![]()
Redo a step
![]()
Undo a step

to draw in your canvas by image from asset

to draw in your canvas by image from device [path]
![]()
Is can redo ~boolean~ [True or False]
![]()
Is can undo ~boolean~ [True or False]

Set image like artboard background layer - from asset

Set image like artboard background layer - from device [path]
![]()
Get the width of the current image, the zoomed width ~int~
![]()
Get the height of the current image, the height of the zoom ~int~
![]()
Get height of the image ~int~
![]()
Get width of the image ~int~

Save you canvas in layout to picture
@layout => your view you are set it in initialize block
@name ~String~ => name of canvas picture

to set zoom of canvas
@width ~float~ must between 1.0 - 4.0
![]()
Get horizontal offset value of the current image || work when canvas is zoom
![]()
Get vertical offset value of the current image || work when canvas is zoom

Set Draw Mode
@MODE ![]()

Set Style of draw
@STYLE ![]()

Set brush color

to whether the setting is adaptive

To enable or disable zoom

Sets brush line stroke width

Draw text - support multi-draw

Set text of draw color

Is set under line of text

Is text BOLD

set text font size

Set the scale of touch points

Set color of touch point

To enable or disable drawing

Set tolerance value allowed on touch

Is set center bg image of center or not



