SimpleImageFillPosition

const SimpleImageFillPosition: object;

Different ways of laying out the image in the background of the block.

Type declaration

Fill

readonly Fill: "fill" = 'fill';

The image retains its original aspect ratio, and is as small as possible while still completely covering the block

Fit

readonly Fit: "fit" = 'fit';

The image retains its original aspect ratio, and is as large as possible while still fitting in the block

Original

readonly Original: "original" = 'original';

The image is shown in its original size if possible

Stretch

readonly Stretch: "stretch" = 'stretch';

The image is stretched to the bounding box of the block

Tile

readonly Tile: "tile" = 'tile';

The image is tiled in its original size vertically and horizontally to fully cover the block