Handles drawing on a CanvasRenderingContext2D.
The following tables list the members exposed by the Canvas type.
Name | Description | |
---|---|---|
Initializes a new instance of the Canvas class. |
Name | Description | |
---|---|---|
Gets the underlying Canvas element's logical bounds. |
||
Returns a reference to the control's DOM element. (Inherited from Disposable.) |
||
Gets or sets whether mouse events are enabled. (Inherited from Disposable.) |
||
Gets or sets the unit of measure used for logical coordinates. |
||
Gets or sets a threshold value that hides text if scaled font sizes become smaller. |
||
Gets the current scale of this Canvas. |
Name | Description | |
---|---|---|
Registers a single event listener on the instance. (Inherited from Disposable.) |
||
Overrides Disposable.dispose |
||
Invalidates the canvas or a region of the canvas, causing it to be repainted. |
||
Raises an event. (Inherited from Disposable.) |
||
Removes a single event listener attached to the instance. (Inherited from Disposable.) |
||
Repaints the canvas. |