Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ImageFitMode

Different ways the image might be placed on the element.

See ImageFill.

see

ImageFill

Index

Enumeration members

Enumeration members

Center

Center :

Places the image to the center of the full area of the element it's inside of. Image aspect ratio will be kept as is. Image might be clipped or not fill the element on either top/bottom and/or left/right, if the element is not same size as the image.

Fill

Fill :

Ensures that the image fills the full area of the element it's inside of. Will keep image aspect ratio as is. Image might be clipped on the smaller size axis.

Fit

Fit :

Ensures that the image fits in the full area of the element it's inside of. Will keep image aspect ratio as is. Image might be not fill the element fully on the larger size axis.

Stretch

Stretch :

Ensures that the image fills the full area of the element it's inside of. Image aspect ratio will be distorted if the element aspect ratio is not same as the image aspect ratio.