[−][src]Function seed::browser::util::canvas_context_2d
pub fn canvas_context_2d(canvas: &HtmlCanvasElement) -> CanvasRenderingContext2d
Convenience function to access the web_sys::CanvasRenderingContext2d
.
pub fn canvas_context_2d(canvas: &HtmlCanvasElement) -> CanvasRenderingContext2d
Convenience function to access the web_sys::CanvasRenderingContext2d
.