Overview
A class representing a style for a text media track.
Inherits NSObject. Implements <NSCopying>.
Instance Method Summary | |
(instancetype) | - init |
Designated initializer. More... | |
Class Method Summary | |
(instancetype) | + createDefault |
Creates an instance with default values based on the system's closed captioning settings. More... | |
Property Summary | |
CGFloat | fontScale |
The font scaling factor for the text. More... | |
GCKColor * | foregroundColor |
The foreground color. More... | |
GCKColor * | backgroundColor |
The background color. More... | |
GCKMediaTextTrackStyleEdgeType | edgeType |
The edge type. More... | |
GCKColor * | edgeColor |
The edge color. More... | |
GCKMediaTextTrackStyleWindowType | windowType |
The window type. More... | |
GCKColor * | windowColor |
The window color. More... | |
CGFloat | windowRoundedCornerRadius |
Rounded corner radius absolute value in pixels. More... | |
NSString * | fontFamily |
The font family; if the font is not available, the generic font family will be used. More... | |
GCKMediaTextTrackStyleFontGenericFamily | fontGenericFamily |
The generic font family. More... | |
GCKMediaTextTrackStyleFontStyle | fontStyle |
The font style. More... | |
id | customData |
The custom data, if any. More... | |
Method Detail
- (instancetype) init |
Designated initializer.
All properties are mutable and so can be supplied after construction.
+ (instancetype) createDefault |
Creates an instance with default values based on the system's closed captioning settings.
This method will return nil on systems older than iOS 7.
Property Detail
|
readwritenonatomicassign |
The font scaling factor for the text.
|
readwritenonatomiccopy |
The foreground color.
|
readwritenonatomiccopy |
The background color.
|
readwritenonatomicassign |
The edge type.
|
readwritenonatomiccopy |
The edge color.
|
readwritenonatomicassign |
The window type.
|
readwritenonatomiccopy |
The window color.
|
readwritenonatomicassign |
Rounded corner radius absolute value in pixels.
|
readwritenonatomiccopy |
The font family; if the font is not available, the generic font family will be used.
|
readwritenonatomicassign |
The generic font family.
|
readwritenonatomicassign |
The font style.
|
readwritenonatomicstrong |
The custom data, if any.