drawRect(opt: DrawRectOpt): void

Draw a rectangle.

paramopt- The draw rect options.

drawRect({
    width: 120,
    height: 240,
    pos: vec2(20, 20),
    color: YELLOW,
    outline: { color: BLACK, width: 4 },
});

sincev2000.0