Table of Contents

Constructor PointD

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

PointD(SKPoint)

Initializes a new instance of the PointD class using the specified SkiaSharp point.

public PointD(SKPoint p)

Parameters

p SKPoint

The SKPoint to initialize the PointD instance with.

PointD(PointI)

Initializes a new instance of the PointD structure using the specified PointI.

public PointD(PointI p)

Parameters

p PointI

The PointI instance whose coordinates are used to initialize this PointD.

Remarks

This constructor converts the integer coordinates of the PointI to double-precision floating-point values for the PointD instance.

PointD(float, float)

Initializes a new instance of the PointD class with the specified coordinates.

public PointD(float x, float y)

Parameters

x float
y float

PointD(float)

Initializes a new instance of the PointD class with the specified coordinate.

public PointD(float xy)

Parameters

xy float

PointD(Vector2)

Initializes a new instance of the PointD struct from the specified Vector2.

public PointD(Vector2 vector)

Parameters

vector Vector2