The GUI takes the following modifier keys…
shift | straight line from last mouse position |
alt | rectangle from last mouse position |
ctrl | oval from last mouse position |
(try to use alt and ctrl in combination with shift)
bounds |
A Rect that defines window size and position. |
The window.
Current mouse position as a Point.
Clears the drawing.
Close the window if open.
Set Pen stroke width.
Set Pen stroke colour.
Set drawing background colour.