GCKMediaTextTrackStyle Class
Stay organized with collections
Save and categorize content based on your preferences.
A class representing a style for a text media track.
Inherits NSObject. Implements <NSCopying>.
|
(instancetype) | + createDefault |
| Creates an instance with default values based on the system's closed captioning settings. More...
|
|
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.
The font scaling factor for the text.
- (GCKMediaTextTrackStyleEdgeType) edgeType |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleWindowType) windowType |
|
readwritenonatomicassign |
- (CGFloat) windowRoundedCornerRadius |
|
readwritenonatomicassign |
Rounded corner radius absolute value in pixels.
The font family; if the font is not available, the generic font family will be used.
- (GCKMediaTextTrackStyleFontGenericFamily) fontGenericFamily |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleFontStyle) fontStyle |
|
readwritenonatomicassign |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`GCKMediaTextTrackStyle` is a class that manages the style of text-based media tracks."],["It provides properties to control aspects like font, color, background, and edges of the text."],["You can create a default style based on system settings or customize individual properties."],["Includes methods for initialization and creation with default values."],["It inherits from `NSObject` and implements the `NSCopying` protocol."]]],[]]