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.