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