How to draw a line in NativeScript/Angular application?


Are there any way to draw, say, lines, boxes, curves (directly or indirectly) in NativeScript/Angular application?
Thanks in advance.


You can draw freehand using the DrawingPad plugin, but I think you are looking for a vector drawing utility. Best bet would be to create a plugin for this. First step would be to find Cocoapods/Android Arsenal libraries that could work.


i need a vertical line in my layout , is there anyway to make it happen?


If you want simple static lines, you can do something like this.

If you are looking for vector drawings, you might have to find a library and write your plugin.


thanks. It worked for me