Skip to main content
Module

x/canvas/types.ts>SkColor

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

An SkColor 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