Class
MaplibreNativeFfiStyleImageOptions
Description [src]
final class MaplibreNativeFfi.StyleImageOptions : GObject.Object
{
/* No available fields */
}
Options for a style image, as the [sprite](https://maplibre.org/maplibre-style-spec/sprite/) spec describes them.
A member that a has_ method reports on is unset until its property or
setter sets it.
See mln_style_image_options in the
C API reference.
Constructors
maplibre_native_ffi_style_image_options_new
Creates a MaplibreNativeFfiStyleImageOptions whose members are zero, empty, or unset.
Instance methods
maplibre_native_ffi_style_image_options_get_content
Gets MaplibreNativeFfiStyleImageOptions:content.
maplibre_native_ffi_style_image_options_get_keep_unused
Gets MaplibreNativeFfiStyleImageOptions:keep-unused.
maplibre_native_ffi_style_image_options_get_pixel_ratio
Gets MaplibreNativeFfiStyleImageOptions:pixel-ratio.
maplibre_native_ffi_style_image_options_get_stretch_x
Gets the value that maplibre_native_ffi_style_image_options_set_stretch_x sets.
maplibre_native_ffi_style_image_options_get_stretch_y
Gets the value that maplibre_native_ffi_style_image_options_set_stretch_y sets.
maplibre_native_ffi_style_image_options_get_text_fit_height
Gets MaplibreNativeFfiStyleImageOptions:text-fit-height.
maplibre_native_ffi_style_image_options_get_text_fit_width
Gets MaplibreNativeFfiStyleImageOptions:text-fit-width.
maplibre_native_ffi_style_image_options_has_content
Whether MaplibreNativeFfiStyleImageOptions:content is set.
maplibre_native_ffi_style_image_options_has_keep_unused
Whether MaplibreNativeFfiStyleImageOptions:keep-unused is set.
maplibre_native_ffi_style_image_options_has_pixel_ratio
Whether MaplibreNativeFfiStyleImageOptions:pixel-ratio is set.
maplibre_native_ffi_style_image_options_has_sdf
Whether MaplibreNativeFfiStyleImageOptions:sdf is set.
maplibre_native_ffi_style_image_options_has_stretch_x
Whether the value sets maplibre_native_ffi_style_image_options_set_stretch_x.
maplibre_native_ffi_style_image_options_has_stretch_y
Whether the value sets maplibre_native_ffi_style_image_options_set_stretch_y.
maplibre_native_ffi_style_image_options_has_text_fit_height
Whether MaplibreNativeFfiStyleImageOptions:text-fit-height is set.
maplibre_native_ffi_style_image_options_has_text_fit_width
Whether MaplibreNativeFfiStyleImageOptions:text-fit-width is set.
maplibre_native_ffi_style_image_options_set_content
Sets MaplibreNativeFfiStyleImageOptions:content.
maplibre_native_ffi_style_image_options_set_keep_unused
Sets MaplibreNativeFfiStyleImageOptions:keep-unused.
maplibre_native_ffi_style_image_options_set_pixel_ratio
Sets MaplibreNativeFfiStyleImageOptions:pixel-ratio.
maplibre_native_ffi_style_image_options_set_stretch_x
The ranges of columns that stretch, in increasing order without overlap.
maplibre_native_ffi_style_image_options_set_stretch_y
The ranges of rows that stretch, in increasing order without overlap.
maplibre_native_ffi_style_image_options_set_text_fit_height
Sets MaplibreNativeFfiStyleImageOptions:text-fit-height.
maplibre_native_ffi_style_image_options_set_text_fit_width
Sets MaplibreNativeFfiStyleImageOptions:text-fit-width.
Properties
MaplibreNativeFfi.StyleImageOptions:keep-unused
Keeps the image after no layer uses it. Without this, the map can remove an
image that it asked for through
MAPLIBRE_NATIVE_FFI_RUNTIME_EVENT_MAP_STYLE_IMAGE_MISSING.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.