Evbpc.Framework.Drawing.Size.Truncate C# (CSharp) Method

Truncate() public static method

Constructs a new Size from the specified SizeF by rounding all values down to the nearest whole number.
public static Truncate ( SizeF value ) : Size
value SizeF The to be rounded down.
return Size
        public static Size Truncate(SizeF value) => new Size((int)(value.Width), (int)(value.Height));