Converts a floating point size to an integral size by rounding the width and height
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static Size Round(
SizeF size
)
Public Shared Function Round (
size As SizeF
) As Size
static member Round :
size : SizeF -> Size
Parameters
- size
- Type: Eto.DrawingSizeF
Size to convert
Return Value
Type:
SizeA new instance of a Size class with rounded width and height values of the specified
sizeSee Also