Drawing lines on form

Hi

When drawing a line on a screen.
The at array is as follows

1= x
2= y
3 =width
4 = height

Am I understanding it correctly in rough terms

the width is … points to the left or right of the x point

the height is … points up or down from the y point ?

Why not read the help for the Line function?

Yeah did that still not 100 %

I’d probably just populate a line on a dummy window and drag stuff around to see how it affects the numbers. My experience with LINE mostly was just trial and error. Then I need it 5 years later and have to re-learn it. :slight_smile:
One tip you might find useful: If the line is for display on a WINDOW, it’s probably best to set PROP:Pixels first.

2 Likes