Table of Contents

Method FromLTRB

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

FromLTRB(double, double, double, double)

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

public static RectD FromLTRB(double left, double top, double right, double bottom)

Parameters

left double
top double
right double
bottom double

Returns

RectD

FromLTRB(PointD, PointD)

Creates a new RectD specified by two points.

public static RectD FromLTRB(PointD leftTop, PointD rightBottom)

Parameters

leftTop PointD
rightBottom PointD

Returns

RectD