WithY Method
Returns a new PixelPoint with the same X co-ordinate and the specified Y co-ordinate.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public PixelPoint WithY(
int y
)
Public Function WithY (
y As Integer
) As PixelPoint
member WithY :
y : int -> PixelPoint
Parameters
- Int32
- The Y co-ordinate.
Return Value
PixelPoint
The new PixelPoint.