Here is a bit of demo code that uses the linedraw

Code: