drawRect(opt: DrawRectOpt): void
Draw a rectangle.
param
opt- The draw rect options.
drawRect({ width: 120, height: 240, pos: vec2(20, 20), color: YELLOW, outline: { color: BLACK, width: 4 }, });
since
v2000.0
Draw a rectangle.
param
opt- The draw rect options.
drawRect({ width: 120, height: 240, pos: vec2(20, 20), color: YELLOW, outline: { color: BLACK, width: 4 }, });
since
v2000.0