Search
Canvas Members
Constructors Properties Methods
Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
Introduction
General Information
What's New In This Release
Version History
Getting Started
Code Completion With VSDoc IntelliSense
Programming Interface Overview
Tutorials
Reference
MindFusion.Common
MindFusion.Common.Collections
MindFusion.Controls
Alignment Enumeration
CancelEventArgs Class
Canvas Class
Canvas Members
Canvas Constructor
Canvas Methods
Canvas Properties
CanvasControl Class
Control Class
Disposable Class
DomUtils Class
EventArgs Class
MouseButton Enumeration
MouseCursors Enumeration
TickPosition Enumeration
ZoomControl Class
MindFusion.Scheduling
Licensing
Online Resources
Technical Support
MindFusion Products

Handles drawing on a CanvasRenderingContext2D.

The following tables list the members exposed by the Canvas type.

## Public Constructors

| Name | Description
--- | --- | ---
| Canvas | Initializes a new instance of the Canvas class.

## Public Properties

| Name | Description
--- | --- | ---
| bounds | Gets the underlying Canvas element's logical bounds.
| element | Returns a reference to the control's DOM element. (Inherited from Disposable.)
| enabled | Gets or sets whether mouse events are enabled. (Inherited from Disposable.)
| measureUnit | Gets or sets the unit of measure used for logical coordinates.
| minVisibleFontSize | Gets or sets a threshold value that hides text if scaled font sizes become smaller.
| scale | Gets the current scale of this Canvas.

## Public Methods

| Name | Description
--- | --- | ---
| addEventListener | Registers a single event listener on the instance. (Inherited from Disposable.)
| dispose | Overrides Disposable.dispose
| invalidate | Invalidates the canvas or a region of the canvas, causing it to be repainted.
| raiseEvent | Raises an event. (Inherited from Disposable.)
| removeEventListener | Removes a single event listener attached to the instance. (Inherited from Disposable.)
| repaint | Repaints the canvas.

## See Also

Canvas Class
MindFusion.Controls Namespace