MarginBoundsExtensions extension

Extension methods for applying margins to Bounds.

on

Methods

applyMargin(Margin margin) Bounds

Available on Bounds, provided by the MarginBoundsExtensions extension

Applies a margin to this bounds, returning the inner bounds.
expandByMargin(Margin margin) Bounds

Available on Bounds, provided by the MarginBoundsExtensions extension

Expands this bounds by a margin.