forCurrentOperatingSystem

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

Provides an IconRenderProperties configured for the current operating system.

This method determines the rendering size based on the current operating system, defaulting to specific dimensions for Windows, macOS, and Linux. For unsupported operating systems, it defaults to the provided scene width and height.

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.