Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/shapes_plus/mod.ts>Path2D#rect

Used canvas library to make shapes
Latest
method Path2D.prototype.rect
Re-export
import { Path2D } from "https://deno.land/x/shapes_plus@v0.0.5.1/mod.ts";

Parameters

x: number
y: number
width: number
height: number