Skip to main content
Module

x/sdl2/mod.ts>Rect

SDL2 module for Deno
Go to Latest
class Rect
import { Rect } from "https://deno.land/x/sdl2@0.5.1/mod.ts";

Constructors

new
Rect(
x: number,
y: number,
w: number,
h: number,
)

Properties

readonly
height
readonly
width
readonly
x
readonly
y
[_raw]: Uint32Array