Search
CanvasControl Members
Constructors Properties Methods
 


The CanvasControl class represents a wrapper class for the HTML5 Canvas element.

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

 Public Constructors

  Name Description

CanvasControl

Initializes a new instance of the CanvasControl class.

 Public Properties

  Name Description

element

Returns a reference to the control's DOM element. (Inherited from Control.)

enabled

Gets or sets whether mouse events are enabled. (Inherited from Control.)

licenseLocation

Gets or sets the location of the license key file. (Inherited from Control.)

measureUnit

Gets the unit of measure used for logical coordinates.

 Public Methods

  Name Description

addEventListener

Registers a single event listener on the instance. (Inherited from Disposable.)

addHandlers

Adds an event listener to a DOM element. (Inherited from Control.)

clearHandlers

Removes all event listeners from a DOM element. (Inherited from Control.)

clientToDoc

Transforms a point from client to document coordinates.

docToClient

Transforms a point from document to client coordinates.

fromJson

Constructs a JavaScript object from a JSON string. (Inherited from Control.)

raiseEvent

Raises an event. (Inherited from Disposable.)

registerForSubmit

Registers an onsubmit handler for the Control's parent html form to flush postback data. (Inherited from Control.)

removeEventListener

Removes a single event listener attached to the instance. (Inherited from Disposable.)

toJson

Converts a JavaScript object to a JSON string. (Inherited from Control.)

 See Also