Table of Contents

Struct ScreenBox

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A rectangle of the screen, from its min corner to its max corner.

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

Remarks

See mln_screen_box in the C API reference.

Constructors

ScreenBox(ScreenPoint, ScreenPoint)

A rectangle of the screen, from its min corner to its max corner.

public ScreenBox(ScreenPoint Min, ScreenPoint Max)

Parameters

Min ScreenPoint
Max ScreenPoint

Remarks

See mln_screen_box in the C API reference.

Properties

Max

public ScreenPoint Max { get; init; }

Property Value

ScreenPoint

Min

public ScreenPoint Min { get; init; }

Property Value

ScreenPoint