CanvasImageSource

CanvasImageSource provides a mechanism for other interfaces to be used as image sources for some methods of the CanvasDrawImage and CanvasFillStrokeStyles interfaces. It’s just an internal helper type to simplify the specification. It’s not an interface and there are no objects implementing it.

The interfaces that it allows to be used as image sources are the following:

规范

规范 状态 Comment
HTML Living Standard
The definition of 'CanvasImageSource' in that specification.
实时标准 初始定义。