Struct

MaplibreNativeFfiStyleImageInfo

Description [src]

struct MaplibreNativeFfiStyleImageInfo {
  /* No available fields */
}

An image in the map’s style.

See mln_style_image_info in the C API reference.

Constructors

maplibre_native_ffi_style_image_info_new

Creates a MaplibreNativeFfiStyleImageInfo whose members are zero or empty.

Instance methods

maplibre_native_ffi_style_image_info_get_pixels

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

maplibre_native_ffi_style_image_info_has_content

Whether the value has maplibre_native_ffi_style_image_info_get_content.

maplibre_native_ffi_style_image_info_has_text_fit_height

Whether the value has maplibre_native_ffi_style_image_info_get_text_fit_height.

maplibre_native_ffi_style_image_info_has_text_fit_width

Whether the value has maplibre_native_ffi_style_image_info_get_text_fit_width.