WhiteContentMode Constants Reference
Declared in | WhiteCameraBound.h |
---|
WhiteContentMode
The scale mode of the viewable area.
Definition
typedef NS_ENUM(NSUInteger, WhiteContentMode ) {
WhiteContentModeScale,
WhiteContentModeAspectFit,
WhiteContentModeAspectFitScale,
WhiteContentModeAspectFitSpace,
WhiteContentModeAspectFill,
WhiteContentModeAspectFillScale,
};
Constants
WhiteContentModeScale
-
(Default) Resizes the viewable area by the specified
scale
.Declared In
WhiteCameraBound.h
. WhiteContentModeAspectFit
-
Resizes the viewable area proportionately until its longer sides meet with the screen sides perpendicular to them, so that the viewable area is completely displayed on the screen.
Declared In
WhiteCameraBound.h
. WhiteContentModeAspectFitScale
-
Resizes the viewable area proportionately until its longer sides meet with the screen sides perpendicular to them, so that the viewable area is completely displayed on the screen. Then, resizes the viewable area by a specified scale factor.
Declared In
WhiteCameraBound.h
. WhiteContentModeAspectFitSpace
-
Resizes the viewable area proportionately until its longer sides meet with the screen sides perpendicular to them, so that the viewable area is completely displayed on the screen. Then, adds the specified spaces around the viewable area.
Declared In
WhiteCameraBound.h
. WhiteContentModeAspectFill
-
Resizes the viewable area proportionately until its shorter sides meet with the screen sides perpendicular to them, so that the viewable area completely covers the screen.
Declared In
WhiteCameraBound.h
. WhiteContentModeAspectFillScale
-
Resizes the viewable area proportionately until its shorter sides meet with the screen sides perpendicular to them, so that the viewable area completely covers the screen. Then, resizes the viewable area by the specified scale factor.
Declared In
WhiteCameraBound.h
.
Declared In
WhiteCameraBound.h