pub fn canvas_context_2d(canvas: &HtmlCanvasElement) -> CanvasRenderingContext2d
Expand description
Convenience function to access the web_sys::CanvasRenderingContext2d
.
pub fn canvas_context_2d(canvas: &HtmlCanvasElement) -> CanvasRenderingContext2d
Convenience function to access the web_sys::CanvasRenderingContext2d
.