Table of Contents

Operator explicit operator

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

explicit operator Vector2(PointD)

Converts the specified PointD to a Vector2.

public static explicit operator Vector2(PointD point)

Parameters

point PointD

Returns

Vector2

explicit operator PointD(Vector2)

Converts the specified Vector2 to a PointD.

public static explicit operator PointD(Vector2 vector)

Parameters

vector Vector2

Returns

PointD