Table of Contents

Struct ScreenBox

Namespace
Maplibre.NativeFfi.Geo
Assembly
Maplibre.NativeFfi.dll

Screen-space box in logical map pixels. Corners may be given in any order and may extend past the viewport; rendered queries normalize the corners and clip the box to the viewport.

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

Constructors

ScreenBox(ScreenPoint, ScreenPoint)

Screen-space box in logical map pixels. Corners may be given in any order and may extend past the viewport; rendered queries normalize the corners and clip the box to the viewport.

public ScreenBox(ScreenPoint Min, ScreenPoint Max)

Parameters

Min ScreenPoint
Max ScreenPoint

Properties

Max

public ScreenPoint Max { get; init; }

Property Value

ScreenPoint

Min

public ScreenPoint Min { get; init; }

Property Value

ScreenPoint