Table of Contents

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

Kind StyleExpressionTypeKind
ItemKind StyleExpressionTypeKind

The type of each item when kind is StyleExpressionTypeKind.Array. It can't be an array itself.

ItemCount uint

The 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

uint

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

StyleExpressionTypeKind

Kind

public StyleExpressionTypeKind Kind { get; init; }

Property Value

StyleExpressionTypeKind