Draw a line.
This function lets you draw a line on the screen from x1, y1 to x2, y2. Optionally specify drawing options. If this argument is not specified it defaults to DRAW_OPT_NORMAL. Valid display option constants are listed in the Drawing option constants group.
- See Also
- SysDrawLine, DrawLineType
- Parameters
-
x1 | The x value for the start of the line. |
y1 | The y value for the start of the line. |
x2 | The x value for the end of the line. |
y2 | The y value for the end of the line. |
options | The optional drawing options. |
- Returns
- The result of the drawing operation.
- Examples:
- ex_LineOut.nxc.