Rect.expanded

Gets a rect that has been expanded by the specified amount from the center

struct Rect(type)
@safe pure nothrow const
expanded
(
vtype
)
(
vtype other
)
if (
isVector!vtype &&
vtype.dimension == 2
)

Meta