Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/imagescript/ImageScript.js>Image#drawBox

zero-dependency JavaScript image manipulation
Extremely Popular
Latest
method Image.prototype.drawBox
import { Image } from "https://deno.land/x/imagescript@1.3.0/ImageScript.js";

Draws a box at the specified coordinates

Parameters

x

The x offset

y

The y offset

width

The box width

height

The box height

color

The color to fill the box in with