[][src]Function graphics::rectangle::centered

pub fn centered(rect: Rectangle) -> Rectangle

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