Aller au contenu

Enumeration HrzProtocol.BoxFit

Defined in hrz/protocol/vector/symbol_repr.proto.


BOX_FIT_CONTAIN (0)

Scales the child to fill the box while respecting its aspect ratio.


BOX_FIT_FILL (1)

Scales the child to fill the box regardless of aspect ratio.


BOX_FIT_SCALE_DOWN (2)

Like the CONTAIN mode, but the child will not be scaled up, only down.


BOX_FIT_COVER (3)

Scales the child to cover the box (possibly overflowing its bounds) while respecting its aspect ratio.