density

val density: Double = 1.0

The density of the display. This can be used to convert Dp within other properties back to raw pixels, if needed.