tcanvas - an extension of the canvas widget
tcanvas pathName ?options?
tcanvas (Tiled-canvas) is an extension of the canvas widget. A Tiled-canvas is simply a canvas with an image item acting as background.
all "canvas" options are supported.
-bgimage _image_ Specifies an image to display as background, which must have been created with the "image create" command. If _image_ is the empty string, the background is disabled -bgzoom _n_ _n_ is an integer value (default 1). With this option, each pixel in the source image will be expanded into a block of n x n pixels. -bgmargin _n_ _n_ is an integer value ( _n_ >= 0 ; default is 0). the background image will cover all the canvas visible surface, leaving a margin of _n_ pixels.
.. all "canvas" widget commands are supported.
pathName clean delete all items on canvas (leaving the background-image intact)