GUI Help > Special > drawLine
drawLine
drawLine handle gadget, int startX, int startY, int endX, int endY
Description: Draws a line on a canvas gadget between the specified points using the current drawing line colour.
Return Value:
Parameters:
gadget | Handle to a canvas gadget.
startX | The starting X position of the line
startY | The starting Y position of the line
endX | The ending X point of the line
endY | The ending Y position of the line
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)