withoutScalingAndAliasing

fun withoutScalingAndAliasing(sceneWidth: Int = 192, sceneHeight: Int = 192, density: <Error class: unknown class> = Density(2f)): IconRenderProperties

Provides an IconRenderProperties configured with settings that don't force icon scaling and aliasing.

Return

An instance of IconRenderProperties with the appropriate target width and height based on the operating system.

Parameters

sceneWidth

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

sceneHeight

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

density

Density of the androidx.compose.ui.ImageComposeScene.