Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

fill_rect

Function fill_rect 

Source
pub fn fill_rect(x: u16, y: u16, w: u16, h: u16, r: u8, g: u8, b: u8)
👎Deprecated:

use gpu.draw(&FillRect::new(origin, size, color))

Expand description

Fill a VRAM rectangle with a solid color.