Function moto::print_framed

source ·
pub fn print_framed(x: i16, y: i16, w: i16, h: i16, text: impl Into<String>)
Expand description

print_framed prints the provided text in a frame of x,y,w,h e.g. print_framed(0,0,10,10,"hello world") prints “hello world” in a frame at the provided position automatically wraps the text to fit the width of the frame