Display Type
Indicates the modes the image can be initially scaled.
Entries
Image will be initially scaled only if bigger than the limits of this view.
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.
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.
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.
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.
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.
Initially scales image to fill the whole view and centers image on the view while preserving aspect ratio.
Properties
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.