WhiteContentModeConfig Class Reference
| Inherits from | WhiteObject |
|---|---|
| Declared in | WhiteCameraBound.h |
– initWithContentMode:
Initialize a WhiteContentMode object.
- (instancetype)initWithContentMode:(WhiteContentMode)scaleModeParameters
scaleMode |
The scale factor of the viewable area. The default value is |
|---|
Return Value
An initialized WhiteContentMode object.
Declared In
WhiteCameraBound.h
contentMode
The scale mode of the viewable area. See WhiteContentMode.
@property (nonatomic, assign, readonly) WhiteContentMode contentModeDeclared In
WhiteCameraBound.h
scale
The scale factor of the viewable area.
@property (nonatomic, assign) CGFloat scaleDiscussion
This method takes effect only when the scale mode is set as one the following values:
WhiteContentModeScaleWhiteContentModeAspectFitScaleWhiteContentModeAspectFillScale
Declared In
WhiteCameraBound.h
space
The space (pixels) added around the viewable area. This method takes effect only when the scaleMode is WhiteContentModeAspectFitSpace.
@property (nonatomic, assign) CGFloat spaceDeclared In
WhiteCameraBound.h