The Canvas widget provides a drawing area for graphics, shapes, and custom rendering.
use PhpGui\Widget\Canvas;
$canvas = new Canvas('parentId');
- Typically used for custom drawings.
- Can be modified using additional Tcl commands.
- Offers a flexible area for graphical content.