[−][src]Function canvas_display::utils::create_canvas
pub fn create_canvas(
width: u32,
height: u32
) -> Result<HtmlCanvasElement, String>
Creates a new canvas width given with and height.
pub fn create_canvas(
width: u32,
height: u32
) -> Result<HtmlCanvasElement, String>
Creates a new canvas width given with and height.