Rectangle.Inflate(float, float) Method
Definition
Namespace: Brine2D.Core
Inflates the rectangle by the specified amount on all sides. The total width increases by horizontal * 2, height by vertical * 2.
Parameters
horizontal System.Single
Amount to expand left and right.
vertical System.Single
Amount to expand top and bottom.