Canvas is a generic term for the drawing surface used with many free-form graphics output APIs. Use this tag with other tags that indicate the specific graphics API that is being used along with the programming language and the target environment: [android], [uwp], [wpf], [tkinter], [java], [html5], [chart.js] etc. Also include a specific canvas tag such as [android-canvas], [html5-canvas], [tkinter-canvas] if appropriate.
As computer hardware has increased in capabilities and power, the number of graphical interface APIs, how they are used, and the devices they can be used with has also increased. Posted questions should provide some details as to the target environment and hardware being used.
Most of these use the term "canvas" to describe the drawing surface on which the graphic API "draws" when the programmer calls the various primitives to create lines and colors and shapes. Typically graphic APIs use a canvas not only for images but also as a surface on which various user controls such as buttons are placed and a canvas may be placed in a container such as a panel as well.
Some graphical APIs have more than one way to draw on a canvas. For example UWP applications may use the UWP programmatic, function call interface or they may use the xaml approach.
For questions concerning a specific browser implementation of javascript and html5, you should provide the appropriate browser tag.
Android Canvas
Canvas An API for drawing into a Bitmap
Related tags: android-canvas, android
WPF Canvas
The Canvas
defines an area within which you can explicitly position child elements by using coordinates that are relative to the Canvas area.
Related tags: wpf, wpf-controls
Further reading: MSDN Reference
Universal Windows Program (UWP) Canvas class
See Canvas class for documentation on the UWP Canvas class of Windows.UI.Xaml.Controls.
Also see video Windows 10 Development for absolute beginners: Canvas and Shapes.
Since UWP applications may target a number of different devices and hardware platforms (x86, ARM) as well as a number of different programming languages may be used with them (c++, c#) language specific tags as well as details about the target environment should be in the posted question.
Related tags: uwp win-universal-app xaml
Tkinter canvas
Canvas is a general purpose widget of the Tkinter module, a standard Python interface to the Tk GUI Toolkit. It provides structured facilities and is commonly used to display and edit drawings.
Related tags: python, tkinter tkinter-canvas
HTML canvas
<canvas>
is an HTML element introduced with HTML5. It provides a way to draw pixel data on screen through the use of JavaScript APIs.
<canvas id="example" width="200" height="200">
This text is displayed if your browser does not support HTML5 Canvas.
</canvas>
Further reading: Mozilla: Canvas tutorial, WHATWG living standard
Related tags html5-canvas, javascript, html5