Class StyleImageInfo
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
An image in the map's style.
public sealed record StyleImageInfo : IEquatable<StyleImageInfo>
- Inheritance
-
StyleImageInfo
- Implements
- Inherited Members
Remarks
See mln_style_image_info in the C API reference.
Properties
Content
public ImageContent? Content { get; init; }
Property Value
Height
public uint Height { get; init; }
Property Value
KeepUnused
public bool KeepUnused { get; init; }
Property Value
PixelRatio
public float PixelRatio { get; init; }
Property Value
Pixels
The premultiplied RGBA pixels, in rows of width * 4 bytes, from
the top row down.
public ImmutableArray<byte> Pixels { get; init; }
Property Value
Sdf
public bool Sdf { get; init; }
Property Value
StretchX
public ImmutableArray<ImageStretch> StretchX { get; init; }
Property Value
StretchY
public ImmutableArray<ImageStretch> StretchY { get; init; }
Property Value
TextFitHeight
public StyleImageTextFit? TextFitHeight { get; init; }
Property Value
TextFitWidth
public StyleImageTextFit? TextFitWidth { get; init; }
Property Value
Width
public uint Width { get; init; }