Table of Contents

Struct LogicalSize

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A size in logical pixels, which the map's scale factor turns into pixels.

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

Remarks

See mln_logical_size in the C API reference.

Constructors

LogicalSize(uint, uint)

A size in logical pixels, which the map's scale factor turns into pixels.

public LogicalSize(uint Width, uint Height)

Parameters

Width uint
Height uint

Remarks

See mln_logical_size in the C API reference.

Properties

Height

public uint Height { get; init; }

Property Value

uint

Width

public uint Width { get; init; }

Property Value

uint