Struct StyleExpressionType
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
The type of a style expression's result.
public readonly record struct StyleExpressionType : IEquatable<StyleExpressionType>
- Implements
- Inherited Members
Remarks
See mln_style_expression_type in the C API reference.
Constructors
StyleExpressionType(StyleExpressionTypeKind, StyleExpressionTypeKind, uint)
The type of a style expression's result.
public StyleExpressionType(StyleExpressionTypeKind Kind, StyleExpressionTypeKind ItemKind, uint ItemCount)
Parameters
KindStyleExpressionTypeKindItemKindStyleExpressionTypeKindThe type of each item when
kindisStyleExpressionTypeKind.Array. It can't be an array itself.ItemCountuintThe length of an array, or 0 for any length.
Remarks
See mln_style_expression_type in the C API reference.
Properties
ItemCount
The length of an array, or 0 for any length.
public uint ItemCount { get; init; }
Property Value
ItemKind
The type of each item when kind is
StyleExpressionTypeKind.Array. It can't be an array itself.
public StyleExpressionTypeKind ItemKind { get; init; }
Property Value
Kind
public StyleExpressionTypeKind Kind { get; init; }