Defined in File slint_image.h
An image type that can be displayed by the Image element.
inline std::optional<slint::SharedString> path() const
Returns the path of the image on disk, if it was constructed via Image::load_from_path().
Public Static Functions
Load an image from an image file.
- inline Image()