Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dwm/ext/canvas.ts>CanvasRenderingContext2D#createLinearGradient

Deno Window Manager: Cross-platform window creation and management
Go to Latest
method CanvasRenderingContext2D.prototype.createLinearGradient
Re-export
import { CanvasRenderingContext2D } from "https://deno.land/x/dwm@0.2.0/ext/canvas.ts";

Parameters

x0: number
y0: number
x1: number
y1: number