CanvasImageSource class

An object that can be drawn to a 2D canvas rendering context.

The image drawn to the canvas depends on the type of this object:

Note: Currently all versions of Internet Explorer do not support drawing a video element to a canvas. You may also encounter problems drawing a video to a canvas in Firefox if the source of the video is a data URL.

See also

Other resources

Implementers

Constructors

CanvasImageSource()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited