pub fn centered(area: Rect, width: u16, height: u16) -> Rect
A rectangle of at most width × height, centered in area.
width
height
area