Rect.

WithX(double) Method

Summary

Returns a new Rect with the specified X position.
Namespace
Avalonia
Containing Type
Rect

Syntax

public Rect WithX(double x)

Parameters

Name Type Description
x double The x position.

Return Value

Type Description
Rect The new Rect.