Click or drag to resize

SizeRound Method

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
)

Parameters

size
Type: Eto.DrawingSizeF
Size to convert

Return Value

Type: Size
A new instance of a Size class with rounded width and height values of the specified size
See Also