Table of Contents

Method WithX

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

WithX(double)

Returns new rectangle with size and y-coordinate of this rectangle and the specified x-coordinate.

public readonly RectD WithX(double ax)

Parameters

ax double

New X position.

Returns

RectD

Rectangle object with the new x-coordinate.