BoxMath.ToRectangle Method

Namespace:
Weavy.Core.Imaging
Assembly:
Weavy.Core.dll

ToRectangle(RectangleF)

Rounds a floating-point rectangle to an integer rectangle using System.Round

public static Rectangle ToRectangle(RectangleF r)

Parameters

r
System.Drawing.RectangleF

Returns

System.Drawing.Rectangle