@maplibre/native-ffi
    Preparing search index...

    Interface StyleImageInfo

    An image in the map's style.

    See mln_style_image_info in the C API reference.

    interface StyleImageInfo {
        content?: ImageContent;
        height: number;
        keepUnused: boolean;
        pixelRatio: number;
        pixels: Uint8Array;
        sdf: boolean;
        stretchX: readonly ImageStretch[];
        stretchY: readonly ImageStretch[];
        textFitHeight?: StyleImageTextFit;
        textFitWidth?: StyleImageTextFit;
        width: number;
    }
    Index
    content?: ImageContent
    height: number
    keepUnused: boolean
    pixelRatio: number
    pixels: Uint8Array

    The premultiplied RGBA pixels, in rows of width * 4 bytes, from the top row down.

    sdf: boolean
    stretchX: readonly ImageStretch[]
    stretchY: readonly ImageStretch[]
    textFitHeight?: StyleImageTextFit
    textFitWidth?: StyleImageTextFit
    width: number