Summary
Returns a new
PixelPoint
with the same Y co-ordinate and the specified X co-ordinate.
- Namespace
- Avalonia
- Containing Type
- PixelPoint
Syntax
public PixelPoint WithX(int x)
Parameters
Name | Type | Description |
---|---|---|
x | int | The X co-ordinate. |
Return Value
Type | Description |
---|---|
PixelPoint | The new PixelPoint . |