PixelPointWithX Method

Returns a new PixelPoint with the same Y co-ordinate and the specified X co-ordinate.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public PixelPoint WithX(
	int x
)

Parameters

x  Int32
The X co-ordinate.

Return Value

PixelPoint
The new PixelPoint.

See Also