Table of Contents

Struct ScreenPoint

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A point on the screen, in logical pixels from the map's top-left corner.

public readonly record struct ScreenPoint : IEquatable<ScreenPoint>
Implements
Inherited Members

Remarks

See mln_screen_point in the C API reference.

Constructors

ScreenPoint(double, double)

A point on the screen, in logical pixels from the map's top-left corner.

public ScreenPoint(double X, double Y)

Parameters

X double
Y double

Remarks

See mln_screen_point in the C API reference.

Properties

X

public double X { get; init; }

Property Value

double

Y

public double Y { get; init; }

Property Value

double