import * as dwm from "https://deno.land/x/dwm@0.2.0/ext/canvas.ts";
Classes
Canvas is an offscreen surface that can be drawn to. | |
Represents a Window | |
Event Loop class | |
Manage fonts to be used by Skia. | |
Create a new PDF document to draw using Canvas 2D API. | |
A canvas that can be used to render SVG. | |
Event triggered when a window is closed | |
Event triggered when a window requested to close | |
Event triggered when a window is dropped | |
Base window event class | |
Event triggered when a window is focused | |
Event triggered when a window's framebuffersize is changed | |
Event triggered when a window receives input | |
Event triggered when a Key state is changed | |
Event triggered when a window is maximized | |
Event triggered when a window is minimized | |
Event is triggered when mouse state changes | |
Event triggered when a window is moved | |
Event triggered when a window requests a redraw event | |
Event triggered when a window is refreshed | |
Event triggered when a window is resized | |
Event triggered when a window is scrolled |
Functions
Creates a new canvas with the given dimensions. | |