Table of Contents

Method FromLTRB

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

FromLTRB(int, int, int, int)

Creates a new RectI using (left, top) and (right, bottom) points.

public static RectI FromLTRB(int left, int top, int right, int bottom)

Parameters

left int
top int
right int
bottom int

Returns

RectI

FromLTRB(PointI, PointI)

Creates a new RectI specified by two points.

public static RectI FromLTRB(PointI leftTop, PointI rightBottom)

Parameters

leftTop PointI
rightBottom PointI

Returns

RectI