Article

aspectFill

Stretches an image to fill the containing bounding box.

Overview

Use the aspectFill attribute to display an image that fills the bounding box while keeping the aspect of image intact.

Values for aspectFill

boolean

The image fills the entire screen when set to true.

Elements that use aspectFill

  • img inside of a oneupTemplate element only

See Also

Image Display

contentsMode

Specifies how an image is expanded to fill its containing element.

opaque

Indicates whether an image has a transparent background.

mode

Specifies how an image is displayed.

type

Specifies how a badge is drawn.

value

Specifies the value used for a fillable element.