CanvasImageSource
is a helper type representing any objects of one of the following types:
CSSImageValue
HTMLImageElement
SVGImageElement
HTMLVideoElement
HTMLCanvasElement
ImageBitmap
OffscreenCanvas
This is a helper type to simplify the specification, it is not an interface and there are no objects implementing it.
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'CanvasImageSource' in that specification. | Living Standard | Initial definition. |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/CanvasImageSource