Function

FontScale

A [DeviceConfigurationOverride] that overrides the font scale for the contained content.

FontScale

Common
expect fun DeviceConfigurationOverride.Companion.FontScale(
    fontScale: Float
): DeviceConfigurationOverride

A DeviceConfigurationOverride that overrides the font scale for the contained content.

Parameters

fontScale the font scale to use for the content under test.

Returns

a DeviceConfigurationOverride that specifies the font scale for the content under test.

FontScale

Android
actual fun DeviceConfigurationOverride.Companion.FontScale(
    fontScale: Float
): DeviceConfigurationOverride