pub type RectMode = DrawMode;
Drawing mode which determines how (x, y) coordinates are interpreted when drawing Rects.
(x, y)
pub enum RectMode { Corner, Center, }
Use (x, y) as the top-left corner. Default.
Use (x, y) as the center.