GCKMediaTextTrackStyle 클래스
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텍스트 미디어 트랙의 스타일을 나타내는 클래스입니다.
NSObject를 상속합니다. <NSCopying>을 구현합니다.
|
(instancetype) | - init |
| 지정된 이니셜라이저입니다. 더보기
|
|
지정된 이니셜라이저입니다.
모든 속성은 변경 가능하므로 생성 후에 제공할 수 있습니다.
+ (instancetype) createDefault |
|
|
|
시스템의 자막 설정을 기반으로 기본값이 있는 인스턴스를 만듭니다.
이 메서드는 iOS 7 이전 시스템에서 nil을 반환합니다.
- (GCKMediaTextTrackStyleEdgeType) edgeType |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleWindowType) windowType |
|
readwritenonatomicassign |
- (CGFloat) windowRoundedCornerRadius |
|
readwritenonatomicassign |
글꼴 모음입니다. 글꼴을 사용할 수 없는 경우 일반 글꼴 모음이 사용됩니다.
- (GCKMediaTextTrackStyleFontGenericFamily) fontGenericFamily |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleFontStyle) fontStyle |
|
readwritenonatomicassign |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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,[]]