Summary
Returns a new vector with the specified X coordinate.
- Namespace
- Avalonia
- Containing Type
- PixelVector
Syntax
public PixelVector WithX(int x)
Parameters
Name | Type | Description |
---|---|---|
x | int | The X coordinate. |
Return Value
Type | Description |
---|---|
PixelVector | The new vector. |