IconRenderProperties

data class IconRenderProperties(val sceneWidth: Int = 192, val sceneHeight: Int = 192, val sceneDensity: <Error class: unknown class> = Density(2f), val targetWidth: Int = 192, val targetHeight: Int = 192)

Properties for rendering a Composable icon.

Constructors

Link copied to clipboard
constructor(sceneWidth: Int = 192, sceneHeight: Int = 192, sceneDensity: <Error class: unknown class> = Density(2f), targetWidth: Int = 192, targetHeight: Int = 192)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val requiresScaling: Boolean
Link copied to clipboard
val sceneDensity: <Error class: unknown class>

Density for androidx.compose.ui.ImageComposeScene

Link copied to clipboard
val sceneHeight: Int = 192

Height of the androidx.compose.ui.ImageComposeScene in pixels

Link copied to clipboard
val sceneWidth: Int = 192

Width of the androidx.compose.ui.ImageComposeScene in pixels

Link copied to clipboard
val targetHeight: Int = 192

Height of the rendered icon in pixels

Link copied to clipboard
val targetWidth: Int = 192

Width of the rendered icon in pixels