Piccolo.NET

PUtil.InflatedRectangle Method 

Gets a rectangle centered on the given point and inflated in the x and y directions by the given amounts.

public static RectangleF InflatedRectangle(
   PointF aCenterPoint,
   float inflateX,
   float inflateY
);

Parameters

aCenterPoint
The center point for the inflated rectangle.
inflateX
The amount to inflate the rectangle in the x direction.
inflateY
The amount to inflate the rectangle in the y direction.

Return Value

The inflated rectangle.

See Also

PUtil Class | UMD.HCIL.Piccolo.Util Namespace