getDimensionInPx

fun getDimensionInPx(context: Context, dpQualifier: DpQualifier, value: Int): Float

EN Gets the dimension in pixels from an SSP value.

PT Obtém a dimensão em pixels a partir de um valor SSP.

Return

The dimension in pixels, or 0f if not found.

Parameters

context

The application context.

dpQualifier

DpQualifier.

value

The SSP value (0 to 600).