CanvasDrawImageExtension extension

Extension to call drawImage with video element using proper JS interop

on

Methods

drawVideoImage(HTMLVideoElement video, double dx, double dy, double dWidth, double dHeight) → void

Available on CanvasRenderingContext2D, provided by the CanvasDrawImageExtension extension

Draws a video element to the canvas at the specified position and size. This uses JS interop to ensure proper binding.