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

Ceiling() public static method

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