Skip to main content

WithX Method

Returns a new point with the specified X coordinate.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public Point WithX(
double x
)

Parameters​

  Double
The X coordinate.

Return Value​

Point
The new point.

See Also​

Reference​

Point Structure
Avalonia Namespace