Fill

object Fill : Fit

Do not preserve aspect ratio and stretch to the containing view's dimensions.

Properties

Link copied to clipboard

Default alignment. Not relevant for all fit modes, but still passed when drawing or on pointer events.

Link copied to clipboard
open val scaleFactor: Float = 1.0f

Default scale factor. Only relevant with Fit.Layout, but still passed when drawing or on pointer events.