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

x/canvaseno/mod.ts>SkRRect

Canvas API for deno
Latest
type alias SkRRect
import { type SkRRect } from "https://deno.land/x/canvaseno@v1.0.2/mod.ts";

An SkRRect (rectangle with rounded corners) is represented by 12 floats. In order, the floats correspond to left, top, right, bottom and then in pairs, the radiusX, radiusY for upper-left, upper-right, lower-right, lower-left. See SkRRect.h for more.

definition: Float32Array