method
Rect.make
Rect.make(x, y, w, h) -> Rect
Builds a Rect from its top-left corner (x, y) and size (w, h), all fixed. Read the parts back with Rect.x / Rect.y / Rect.w / Rect.h.
Example
program Demo {
handler Step phase Update {
let hud = Rect.make(8.0, 8.0, 96.0, 16.0)
}
}