Table of Contents

Method ToRect

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

ToRect()

Converts a RectD structure to a RectI structure.

public readonly RectI ToRect()

Returns

RectI

A RectI structure.

Remarks

The RectD structure is converted to a RectI structure by truncating the values of the RectD to the next lower integer values.