Class StyleImageInfo
- Namespace
- Maplibre.NativeFfi.Style
- Assembly
- Maplibre.NativeFfi.dll
public sealed record StyleImageInfo : IEquatable<StyleImageInfo>
- Inheritance
-
StyleImageInfo
- Implements
-
- Inherited Members
-
Constructors
StyleImageInfo(uint, uint, uint, ulong, float, bool, ulong, ulong, ImageContent?, StyleImageTextFit?, StyleImageTextFit?)
public StyleImageInfo(uint Width, uint Height, uint Stride, ulong ByteLength, float PixelRatio, bool Sdf, ulong StretchXCount, ulong StretchYCount, ImageContent? Content, StyleImageTextFit? TextFitWidth, StyleImageTextFit? TextFitHeight)
Parameters
Width uint
Height uint
Stride uint
ByteLength ulong
PixelRatio float
Sdf bool
StretchXCount ulong
StretchYCount ulong
Content ImageContent?
TextFitWidth StyleImageTextFit?
TextFitHeight StyleImageTextFit?
Properties
ByteLength
public ulong ByteLength { get; init; }
Property Value
- ulong
Content
public ImageContent? Content { get; init; }
Property Value
- ImageContent?
Height
public uint Height { get; init; }
Property Value
- uint
PixelRatio
public float PixelRatio { get; init; }
Property Value
- float
Sdf
public bool Sdf { get; init; }
Property Value
- bool
StretchXCount
public ulong StretchXCount { get; init; }
Property Value
- ulong
StretchYCount
public ulong StretchYCount { get; init; }
Property Value
- ulong
Stride
public uint Stride { get; init; }
Property Value
- uint
TextFitHeight
public StyleImageTextFit? TextFitHeight { get; init; }
Property Value
- StyleImageTextFit?
TextFitWidth
public StyleImageTextFit? TextFitWidth { get; init; }
Property Value
- StyleImageTextFit?
Width
public uint Width { get; init; }
Property Value
- uint