總覽
這個類別代表文字媒體軌的樣式。
沿用 NSObject。實作 <NSCopy>。
執行個體方法摘要 | |
(instancetype) | - init |
指定初始化器。更多... | |
類別方法摘要 | |
(instancetype) | + createDefault |
根據系統的隱藏式輔助字幕設定建立具有預設值的執行個體。更多... | |
屬性摘要 | |
CGFloat | fontScale |
文字的字型縮放比例係數。更多... | |
GCKColor * | foregroundColor |
前景色彩。更多... | |
GCKColor * | backgroundColor |
背景色彩。更多... | |
GCKMediaTextTrackStyleEdgeType | edgeType |
邊緣類型。更多... | |
GCKColor * | edgeColor |
邊緣顏色。更多... | |
GCKMediaTextTrackStyleWindowType | windowType |
視窗類型。更多... | |
GCKColor * | windowColor |
視窗顏色。更多... | |
CGFloat | windowRoundedCornerRadius |
圓角半徑絕對值 (以像素為單位)。更多... | |
NSString * | fontFamily |
字型系列;如果沒有字型,則會使用一般字型系列。更多... | |
GCKMediaTextTrackStyleFontGenericFamily | fontGenericFamily |
一般字型系列。更多... | |
GCKMediaTextTrackStyleFontStyle | fontStyle |
字型樣式。更多... | |
id | customData |
自訂資料 (如果有的話)。更多... | |
方法說明
- (instancetype) init |
指定初始化器。
所有屬性均為可變動,因此可以在建構後提供。
+ (instancetype) createDefault |
根據系統的隱藏式輔助字幕設定建立具有預設值的執行個體。
這個方法會在 iOS 7 之前的系統上傳回 nil。
資源詳細資料
|
readwritenonatomicassign |
文字的字型縮放比例係數。
|
readwritenonatomiccopy |
前景色彩。
|
readwritenonatomiccopy |
背景色彩。
|
readwritenonatomicassign |
邊緣類型。
|
readwritenonatomiccopy |
邊緣顏色。
|
readwritenonatomicassign |
視窗類型。
|
readwritenonatomiccopy |
視窗顏色。
|
readwritenonatomicassign |
圓角半徑絕對值 (以像素為單位)。
|
readwritenonatomiccopy |
字型系列;如果沒有字型,則會使用一般字型系列。
|
readwritenonatomicassign |
一般字型系列。
|
readwritenonatomicassign |
字型樣式。
|
readwritenonatomicstrong |
自訂資料 (如果有的話)。