Most of the functions take a width argument. If the width is 0, the shape is filled. We can use this three events to draw a rectangle on the screen. We define the rectangle by its diagonal start and ...