|
Draw wider lines on crosshair |
Posted by Pete on May-25-2022 08:33 |
|
I would like to draw wider crosshair lines and "measurement" lines since the lines are sometimes hard to see and occasionally lose their color on a 4k monitor.
I see that vline() and hline() don't have a parameter for the line width.
I am using initDynamicLayer() to get the DrawArea.
Is there a way to draw the line with a width of 2 or 3 pixels?
Thanks very much.
Pete |
Re: Draw wider lines on crosshair |
Posted by Peter Kwan on May-25-2022 14:55 |
|
Hi Pete,
Instead of DrawArea.hline and DrawArea.vline, you can use DrawArea.line which allows you to specify the line width. See:
https://www.advsofteng.com/doc/cdnet.htm#DrawArea.line.htm
Hope this can help.
Regards
Peter Kwan |
|