getSize

fun getSize(scaleFactor: Double = definedExternally): Size(source)

If scaleFactor is passed, this will return the size corresponding to the image representation most closely matching the passed value.