pub fn centered(area: Rect, percent_x: u16, percent_y: u16) -> Rect
Centre a modal rect of the given percentage inside area.
area