Table of Contents

Method Ceiling

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Ceiling(RectD)

Converts the specified RectD structure to a RectI structure by rounding the RectD values to the next higher integer values.

public static RectI Ceiling(RectD value)

Parameters

value RectD

The RectD structure to be converted.

Returns

RectI

Returns a RectI.

Remarks

Ceiling operation returns the smallest integer that is greater than or equal to the specified floating-point number.

Ceiling()

Returns new RectD value with ceiling of location and size. Uses Ceiling(double) on values.

public readonly RectD Ceiling()

Returns

RectD