GCKMediaTextTrackStyle 클래스
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텍스트 미디어 트랙의 스타일을 나타내는 클래스입니다.
NSObject, <NS copy> 및 <NSSecureCoding>을 상속합니다.
지정 이니셜라이저입니다.
모든 속성은 변경 가능하며 생성 후 제공할 수 있습니다.
+ (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-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003e\u003ccode\u003eGCKMediaTextTrackStyle\u003c/code\u003e is a class that manages the style of text media tracks, inheriting from \u003ccode\u003eNSObject\u003c/code\u003e, \u003ccode\u003eNSCopying\u003c/code\u003e, and \u003ccode\u003eNSSecureCoding\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers customization options like font scale, colors (foreground, background, edge, window), edge type, window type, font family, style, and rounded corner radius for the window.\u003c/p\u003e\n"],["\u003cp\u003eYou can initialize an instance with default values based on system settings using \u003ccode\u003ecreateDefault\u003c/code\u003e or customize properties after initializing with \u003ccode\u003einit\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSome attributes like \u003ccode\u003ewindowType\u003c/code\u003e, \u003ccode\u003ewindowColor\u003c/code\u003e, and \u003ccode\u003ewindowRoundedCornerRadius\u003c/code\u003e might not be supported by all receiver devices.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecustomData\u003c/code\u003e property allows developers to associate any custom data with the text track style.\u003c/p\u003e\n"]]],["The `GCKMediaTextTrackStyle` class manages the styling of text media tracks. It allows for creating text track styles with customizable properties. You can initialize a new style or create a default style based on system settings. Properties include: font scaling, foreground/background/edge/window colors, edge and window types, rounded corner radius for the window, font family, generic font family, font style, and custom data. All properties are mutable after initialization.\n"],null,[]]