GCKMediaTextTrackStyle クラス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テキスト メディア トラックのスタイルを表すクラス。
NSObject を継承します。<NSCopying> を実装します。
指定イニシャライザ。
すべてのプロパティは変更可能であるため、構築後に指定できます。
+ (instancetype) createDefault |
|
|
|
システムのクローズド キャプション設定に基づいて、デフォルト値でインスタンスを作成します。
このメソッドは、iOS 7 より前のシステムでは nil を返します。
- (GCKMediaTextTrackStyleEdgeType) edgeType |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleWindowType) windowType |
|
readwritenonatomicassign |
- (CGFloat) windowRoundedCornerRadius |
|
readwritenonatomicassign |
フォント ファミリー。フォントが利用できない場合は、汎用フォント ファミリーが使用されます。
- (GCKMediaTextTrackStyleFontGenericFamily) fontGenericFamily |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleFontStyle) fontStyle |
|
readwritenonatomicassign |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],["The `GCKMediaTextTrackStyle` class manages the styling of text media tracks. It allows for creating styles via a designated initializer or by using the `createDefault` method for system-based settings. Key properties include: `fontScale`, `foregroundColor`, `backgroundColor`, `edgeType`, `edgeColor`, `windowType`, `windowColor`, `windowRoundedCornerRadius`, `fontFamily`, `fontGenericFamily`, `fontStyle`, and `customData`. These properties define the appearance of the text, edges, and window. All properties are mutable.\n"],null,[]]