WithX 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)
- C#
- VB
- F#
public PixelPoint WithX(
int x
)
Public Function WithX (
x As Integer
) As PixelPoint
member WithX :
x : int -> PixelPoint
Parameters
- Int32
- The X co-ordinate.
Return Value
PixelPoint
The new PixelPoint.