How to draw on image


I found the Drawing Pad Plugin for help me to draw shape in nativescript. But i don’t know how to use it to draw on image
I tried put drawingpad inside Image but it doesn’t work. Anyone can help me?


hello, anyone can help me ?


A nice trick you can use to overlay two layout elements on top of each other is using <GridLayout> and give both sub-layouts the same row and col index (or leave them out entirely). Example:

    <Image src="~/background.png" height="600" />
    <DrawingPad ... />


thanks @Eddy for helping me. because drawing pad is rectangle so i means how to draw only on inside image not outside.