텍스트 트랙의 스타일 정보를 설명합니다.
색상은 '#RRGGBBAA' 문자열로 표현됩니다. 여기서 XX는 특정 채널/색상의 0~255 값을 나타내는 2개의 16진수 기호입니다. CSS 8자리 16진수 색상 표기법을 따릅니다.
http://dev.w3.org/csswg/css-color/#hex-notation을 참고하세요.
생성자
TextTrackStyle
new
TextTrackStyle()
속성
backgroundColor
null을 허용하는 문자열
배경 RGBA 색상으로, '#RRGGBBAA'로 표시됩니다.
알파 채널은 투명한 배경에 사용해야 합니다.
customData
null을 허용하는 객체
커스텀 애플리케이션 데이터
edgeColor
null을 허용하는 문자열
가장자리의 RGBA 색상으로, '#RRGGBBAA'로 표시됩니다.
EdgeType이 NONE인 경우 이 값은 무시됩니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2023-12-02(UTC)"],[[["`chrome.cast.media.TextTrackStyle` defines the style of text tracks (e.g., captions or subtitles) in a Cast session."],["It includes properties for customizing text appearance, such as font, color, background, and edge styles."],["Colors are specified using 8-digit hexadecimal RGBA values (\"#RRGGBBAA\")."],["It also supports custom application data and window styling for text tracks."],["TextTrackStyle properties allow developers to control how text is displayed during media playback on Cast devices."]]],["`TextTrackStyle` defines the visual appearance of text tracks, using RGBA color strings (\"#RRGGBBAA\"). Key properties include `backgroundColor`, `edgeColor`, `foregroundColor`, and `windowColor`. Font styling is adjusted via `fontFamily`, `fontGenericFamily`, `fontScale`, and `fontStyle`. `edgeType`, `windowType`, and `windowRoundedCornerRadius` further refine the track's display. `customData` allows for the addition of application-specific data. It uses the constructor `TextTrackStyle`.\n"]]