Density

data class Density
kotlin.Any
   ↳ androidx.ui.core.Density

A density of the screen. Used for convert Dp to pixels.

Summary

Public constructors

<init>(density: Float, fontScale: Float = 1f)

A density of the screen.

Properties

Float

Float

Public constructors

<init>

Density(
    density: Float,
    fontScale: Float = 1f)

A density of the screen. Used for convert Dp to pixels.

Properties

density

val density: Float

fontScale

val fontScale: Float