Optional
inside (default): fit within the box, aspect preserved. cover: fill the box exactly, aspect preserved, overflow centre-cropped. fill: stretch to the box exactly, aspect not preserved. cover and fill require both width and height.
inside
cover
fill
inside(default): fit within the box, aspect preserved.cover: fill the box exactly, aspect preserved, overflow centre-cropped.fill: stretch to the box exactly, aspect not preserved.coverandfillrequire both width and height.