Share via


Vec2(Double, Double) Constructor

Definition

Creates a new Vec2 that is defined by x and y.

public Vec2 (double x, double y);
new Xamarin.Forms.Vec2 : double * double -> Xamarin.Forms.Vec2

Parameters

x
System.Double

The X coordinate of the vector.

y
System.Double

The Y coordinate of the vector.

Applies to