ContentScale
Interface
Common
interface ContentScale
Represents a rule to apply to scale a source rectangle to be inscribed into a destination
Functions
fun computeScaleFactor(srcSize: Size, dstSize: Size): ScaleFactor
Computes the scale factor to apply to the horizontal and vertical axes independently of one another to fit the source appropriately with the given destination