Skip to main content
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>CanvasRenderingContext2D

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface CanvasRenderingContext2D
implements CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface
import { type CanvasRenderingContext2D } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/lib/types/lib.dom.d.ts";

The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a element. It is used for drawing shapes, text, images, and other objects.

Properties

readonly
canvas: HTMLCanvasElement