{{APIRef("Canvas API")}}
CanvasImageSource
is a helper type representing any objects of one of the following types: {{domxref("HTMLImageElement")}}, {{domxref("HTMLVideoElement")}}, {{domxref("HTMLCanvasElement")}}, {{domxref("CanvasRenderingContext2D")}}, or {{domxref("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 |
---|---|---|
{{SpecName('HTML WHATWG', "scripting.html#canvasimagesource", "CanvasImageSource")}} | {{Spec2('HTML WHATWG')}} | Initial definition. |