fixedPx

fun Dp.fixedPx(type: ScreenType = ScreenType.LOWEST, ignoreMultiWindows: Boolean = true): Float

Builds the adjusted Pixel value (Float).

Constrói o valor em Pixels (Float) ajustado.


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

EN Converts TextUnit (Sp) to Dp, applies dimension adjustment, and returns in Pixels (Float).

PT Converte TextUnit (Sp) para Dp, aplica o ajuste de dimensão e retorna em Pixels (Float).


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

EN Converts Float to Dp, applies dimension adjustment, and returns in Pixels (Float).

PT Converte Float para Dp, aplica o ajuste de dimensão e retorna em Pixels (Float).


fun Int.fixedPx(type: ScreenType = ScreenType.LOWEST, ignoreMultiWindows: Boolean = true): Float

EN Converts Int to Dp, applies dimension adjustment, and returns in Pixels (Float).

PT Converte Int para Dp, aplica o ajuste de dimensão e retorna em Pixels (Float).