[][src]Function graphics::math::margin_rectangle

pub fn margin_rectangle<T>(rect: Rectangle<T>, m: T) -> Rectangle<T> where
    T: Float

Shrinks a rectangle by a factor on all sides.