FMIceLinkLayoutScale Constants Reference
Declared in | FMIceLinkLayoutScale.h |
---|
FMIceLinkLayoutScale
Specifies how an element should be scaled within a layout.
Definition
typedef NS_ENUM(NSInteger, FMIceLinkLayoutScale ) {
FMIceLinkLayoutScaleContain = 1,
FMIceLinkLayoutScaleCover = 2,
FMIceLinkLayoutScaleStretch = 3,
};
Constants
FMIceLinkLayoutScaleContain
-
Indicates that the element should be uniformly scaled (maintaining aspect ratio) to the largest size such that both its width and its height can fit inside its bounding box.
Declared In
FMIceLinkLayoutScale.h
. FMIceLinkLayoutScaleCover
-
Indicates that the element should be uniformly scaled (maintaining aspect ratio) to be as large as possible so that the bounding box is completely covered. Some parts of the element may not be in view (cropped).
Declared In
FMIceLinkLayoutScale.h
. FMIceLinkLayoutScaleStretch
-
Indicates that the element should be non-uniformly scaled (not maintaining aspect ratio) so that the bounding box is completely covered, but all parts of the element are in view (no cropping).
Declared In
FMIceLinkLayoutScale.h
.
Declared In
FMIceLinkLayoutScale.h