fixedEm

fun Dp.fixedEm(type: ScreenType = ScreenType.LOWEST, ignoreMultiWindows: Boolean = true): TextUnit

EN Builds the adjusted TextUnit (Em), ignoring font scaling.

PT Constrói o TextUnit (Em) ajustado, ignorando a escala da fonte.


fun TextUnit.fixedEm(type: ScreenType = ScreenType.LOWEST, ignoreMultiWindows: Boolean = true): TextUnit

EN Applies dimension adjustment directly to the TextUnit (Em), ignoring font scaling.

PT Aplica o ajuste de dimensão diretamente no TextUnit (Em), ignorando a escala da fonte.


fun Float.fixedEm(type: ScreenType = ScreenType.LOWEST, ignoreMultiWindows: Boolean = true): TextUnit

EN Converts Float to Dp, applies dimension adjustment, and returns in Em (ignoring font scaling).

PT Converte Float para Dp, aplica o ajuste de dimensão e retorna em Em (ignorando a escala da fonte).


fun Int.fixedEm(type: ScreenType = ScreenType.LOWEST, ignoreMultiWindows: Boolean = true): TextUnit

EN Converts Int to Dp, applies dimension adjustment, and returns in Em (ignoring font scaling).

PT Converte Int para Dp, aplica o ajuste de dimensão e retorna em Em (ignorando a escala da fonte).