Concept de fenêtre tel que défini dans les normes CEA-608 et CEA-708. Dans WebVTT, il s'agit d'une région.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2023/12/02 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2023/12/02 (UTC)."],[[["`TextTrackStyle` defines the visual appearance of text tracks, including font, color, background, and window styles."],["It provides properties to customize aspects like font family, size, color, background color, edge style, and window type for text tracks."],["Developers can use this class to control how text tracks are displayed within a Cast application, ensuring readability and visual appeal."],["These style properties can be set using RGBA color values for background, foreground, edge and window colors, along with options for font family, style, scale and edge type."],["`TextTrackStyle` helps ensure text tracks are displayed with appropriate styling, enhancing the user experience by making them clear and legible."]]],["The `TextTrackStyle` class defines the visual styling for text tracks. Key properties include: `backgroundColor`, `foregroundColor`, and `windowColor` (all RGBA colors); `edgeColor` and `edgeType` for text outlining; `fontFamily`, `fontGenericFamily`, `fontScale`, and `fontStyle` for text appearance. `windowType` and `windowRoundedCornerRadius` define window or region attributes. `customData` allows for application-specific styling. These properties determine how text tracks are displayed on a receiver.\n"]]