Table of Contents

Struct ImageStretch

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A range of image pixels, from from to to, that stretches to fit text.

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

Remarks

See mln_image_stretch in the C API reference.

Constructors

ImageStretch(float, float)

A range of image pixels, from from to to, that stretches to fit text.

public ImageStretch(float From, float To)

Parameters

From float
To float

Remarks

See mln_image_stretch in the C API reference.

Properties

From

public float From { get; init; }

Property Value

float

To

public float To { get; init; }

Property Value

float