DIAGONAL - Diagonal Line
Plain English
Draws a straight line from (x1,y1) to (x2,y2) with the given stroke thickness. Useful for crosses, voided-label diagonals, and quick separator strokes.
When to use
When you need a single straight line at an arbitrary angle — a horizontal or vertical line is simpler with BAR.
Syntax
DIAGONAL x1,y1,x2,y2,thickness
Parameters
| Parameter | Description |
|---|---|
x1 | Start-point X coordinate in dots |
y1 | Start-point Y coordinate in dots |
x2 | End-point X coordinate in dots |
y2 | End-point Y coordinate in dots |
thickness | Stroke thickness in dots |
Example
DIAGONAL 50,50,300,200,3
Draw a 3-dot-thick line from (50,50) to (300,200)