Table of Contents

Method WithSize

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

WithSize(float, float)

Creates a RectD with the specified size and the location of this rectangle.

public readonly RectD WithSize(float width, float height)

Parameters

width float
height float

Returns

RectD

WithSize(SizeD)

Creates a RectD with the specified size and the location of this rectangle.

public readonly RectD WithSize(SizeD size)

Parameters

size SizeD

Returns

RectD