CanvasImageSource is a helper type representing any objects of one of the following types: HTMLImageElement, HTMLVideoElement, HTMLCanvasElement, or ImageBitmap.

This is a helper type to simplify the specification, it is not an interface and there are no objects implementing it.


Specification Status Comment
WHATWG HTML Living Standard
The definition of 'CanvasImageSource' in that specification.
Living Standard Initial definition.


© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.

API Canvas Helper Reference Référence