CanvasImageSource

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.

Specifications

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

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/canvasimagesource