Skip to main content
Module

x/canvas/mod.ts>Color

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Latest
type alias Color
import { type Color } from "https://deno.land/x/canvas@v1.4.1/mod.ts";

An Color is represented by 4 floats, typically with values between 0 and 1.0. In order, the floats correspond to red, green, blue, alpha.

definition: Float32Array