BoxFit
Inherits: Enum
How a box should be inscribed into another box.
Properties
-
CONTAIN–As large as possible while still containing the source entirely within the
-
COVER–As small as possible while still covering the entire target box.
-
FILL–Fill the target box by distorting the source's aspect ratio.
-
FIT_HEIGHT–Make sure the full height of the source is shown, regardless of
-
FIT_WIDTH–Make sure the full width of the source is shown, regardless of
-
NONE–Align the source within the target box (by default, centering) and discard
-
SCALE_DOWN–Align the source within the target box (by default, centering) and, if






