Toggle side menu
Toggle side menu
Home
Documentation
API
Vector
.
WithX
(double)
Method
Summary
Returns a new vector with the specified X component.
Namespace
Avalonia
Containing Type
Vector
Syntax
public Vector WithX(double x)
Parameters
Name
Type
Description
x
double
The X component.
Return Value
Type
Description
Vector
The new vector.