scaleToDensity

val scaleToDensity: Boolean = false

Parameters

scaleToDensity

If true and the target size is Size.ORIGINAL, multiplies the source dimensions of the image by the device's display density. NOTE: This only affects Android.