Source/core/html/canvas
Contains canvas-related support classes, including:
CanvasRenderingContext
CanvasRenderingContextHost
), namely HTMLCanvasElement
and OffscreenCanvas
CanvasImageSource
(used as source for drawImage
)ImageElements
(HTMLImageElement
and SVGImageElement
) that can be both a CanvasImageSource
and a ImageBitmapSource
For more information on the structure of canvas-related classes, check Source/modules/canvas/README.md.