Brush Tool Demo

How to use:

Use the brush tool to draw or erase annotations on the image.

Choose Brush Settings: In the Brush Toolbar, you can set the brush radius by using the slider provided. Adjust the radius by moving the slider left or right. The brush radius determines the size of the brush strokes when drawing.

Toggle Erase Mode (Optional): If you want to switch to Erase Mode, click the "Erase" button in the Brush Toolbar. The button will become active, indicating that you are in Erase Mode. Furthermore, you can click e on your keyboard to turn erase mode on and off.

Start Drawing or Erasing: To draw on the canvas, click and drag the mouse pointer to create brush strokes. If you are in Erase Mode, you can use the brush to erase existing shapes by drawing over them.

Changing brush radius during drawing: To change the brush radius while drawing, you can use the mouse wheel to increase or decrease the brush size.

Finalizing Shape: When you are satisfied with the drawn area, release the mouse click to finalize the shape.