Table of Contents

Constructor RectD

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

RectD(float, float, float, float)

Initializes a new instance of the RectD class with the specified location and size.

public RectD(float x, float y, float width, float height)

Parameters

x float
y float
width float
height float

RectD(PointD, SizeD)

Initializes a new instance of the RectD class with the specified location and size.

public RectD(PointD location, SizeD size)

Parameters

location PointD
size SizeD

RectD(PointI, SizeI)

Initializes a new instance of the RectD structure with the specified location and size.

public RectD(PointI location, SizeI size)

Parameters

location PointI

The top-left corner of the rectangle, represented as a PointI.

size SizeI

The dimensions of the rectangle, represented as a SizeI.

RectD(RectI)

Initializes a new instance of the RectD structure using the specified RectI instance.

public RectD(RectI r)

Parameters

r RectI

The RectI instance whose dimensions and position are used to initialize this RectD.

RectD(Vector4)

Initializes a new instance of the RectD struct from the specified Vector4.

public RectD(Vector4 vector)

Parameters

vector Vector4