Piccolo.NET

PUtil.CenterOfRectangle Method 

Returns the center of the given rectangle.

public static PointF CenterOfRectangle(
   RectangleF r
);

Parameters

r
The rectangle whose center point is desired.

Return Value

The center point of the given rectangle.

See Also

PUtil Class | UMD.HCIL.Piccolo.Util Namespace