DisplayType

Indicates the modes the image can be initially scaled.

Entries

Link copied to clipboard

Image is not initially scaled.

Link copied to clipboard

Image will be initially scaled only if bigger than the limits of this view.

Link copied to clipboard

Image will be initially scaled to fit horizontally while keeping aspect ratio, hence, vertically there can be a blank space or image may not fit. In this mode image is aligned on top border of the view.

Link copied to clipboard

Image will be initially scaled to fit horizontally while keeping aspect ratio, hence, vertically there can be a blank space or image may not fit. In this mode image is aligned on bottom border of the view.

Link copied to clipboard

Image will be initially scaled to fit horizontally while keeping aspect ratio, hence, vertically there can be a blank space or image may not fit. In this mode image is vertically centered.

Link copied to clipboard

Image will be initially scaled to fit vertically while keeping aspect ratio, hence, horizontally there can be a blank space or image may not fit. In this mode, image is aligned to the left border of the view.

Link copied to clipboard

Image will be initially scaled to fit vertically while keeping aspect ratio, hence, horizontally there can be a blank space or image may not fit. In this mode, image is aligned to the right border of the view.

Link copied to clipboard

Image will be initially scaled to fit vertically while keeping aspect ratio, hence, horizontally there can be a blank space or image may not fit. In this mode, image is horizontally centered.

Link copied to clipboard

Initially scales image to fill the whole view and centers image on the view while preserving aspect ratio.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.