Skip to main content
Module

x/targadactyl/deps.ts>RRect

tga.js implemented in Deno
Go to Latest
type alias RRect
import { type RRect } from "https://deno.land/x/targadactyl@1.1.0/deps.ts";

An RRect (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 RRect.h for more.

definition: Float32Array