Table of Contents

Method WithSize

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

WithSize(SizeI)

Returns new rectangle with location of this rectangle and the specified size.

public readonly RectI WithSize(SizeI newSize)

Parameters

newSize SizeI

New size.

Returns

RectI

Rectangle object with the new size.