Function graphics::rectangle::centered

source ·
pub fn centered(rect: Rectangle) -> Rectangle
Expand description

Use x, y, half-width, half-height