Package-level declarations

Types

Link copied to clipboard
external class Image : Resource

An RGBA Image in row-major order from top to bottom.

Link copied to clipboard
external interface ImageSize

Image dimensions, in pixels.

Link copied to clipboard
typealias JsImage = Any

A type that can be passed to Rust side as tauri::image::JsImage through {@linkcode transformImage}

Link copied to clipboard
typealias MenuIcon = Any

A type that represents an icon that can be used in menu items.

Functions

Link copied to clipboard
external fun <T> transformImage(image: JsImage?): T

Transforms image from various types into a type acceptable by Rust.