[[["समझने में आसान है","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"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eTextTrackStyle\u003c/code\u003e defines the visual appearance of text tracks, including font, color, background, and window styles.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties to customize aspects like font family, size, color, background color, edge style, and window type for text tracks.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this class to control how text tracks are displayed within a Cast application, ensuring readability and visual appeal.\u003c/p\u003e\n"],["\u003cp\u003eThese 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextTrackStyle\u003c/code\u003e helps ensure text tracks are displayed with appropriate styling, enhancing the user experience by making them clear and legible.\u003c/p\u003e\n"]]],["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"],null,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).TextTrackStyle \nclass static\n\nDescribes style information for a text track.\n\nConstructor\n\nTextTrackStyle\n\nnew\nTextTrackStyle()\n\nProperties\n\nbackgroundColor\n\n(string or undefined)\n\nThe background 32-bit RGBA color, represented as `#RRGGBBAA`. The alpha\nchannel should be used for transparent backgrounds.\n\ncustomData\n\n(non-null Object or undefined)\n\nCustom data set by the receiver application.\n\nedgeColor\n\n(string or undefined)\n\nRGBA color for the edge, this value will be ignored if `edgeType` is\n`NONE`.\n\nedgeType\n\n(non-null [cast.framework.messages.TextTrackEdgeType](/cast/docs/reference/web_receiver/cast.framework.messages#.TextTrackEdgeType) or undefined)\n\nfontFamily\n\n(string or undefined)\n\nIf the font is not available in the receiver, the `fontGenericFamily` is\nused.\n\nfontGenericFamily\n\n(non-null [cast.framework.messages.TextTrackFontGenericFamily](/cast/docs/reference/web_receiver/cast.framework.messages#.TextTrackFontGenericFamily) or undefined)\n\nThe text track font's generic family.\n\nfontScale\n\n(number or undefined)\n\nThe font-scaling factor for the text track (the default is 1).\n\nfontStyle\n\n(non-null [cast.framework.messages.TextTrackFontStyle](/cast/docs/reference/web_receiver/cast.framework.messages#.TextTrackFontStyle) or undefined)\n\nThe text track font style.\n\nforegroundColor\n\n(string or undefined)\n\nThe foreground 32-bit RGBA color, represented as `#RRGGBBAA`.\n\nwindowColor\n\n(string or undefined)\n\n32-bit RGBA color for the window, represented as `#RRGGBBAA`. This value\nwill be ignored if `windowType` is `NONE`.\n\nwindowRoundedCornerRadius\n\n(number or undefined)\n\nThe absolute radius of the rounded corners of the window, in pixels (px).\nThis value will be ignored if `windowType` is not `ROUNDED_CORNERS`.\n\nwindowType\n\n(non-null [cast.framework.messages.TextTrackWindowType](/cast/docs/reference/web_receiver/cast.framework.messages#.TextTrackWindowType) or undefined)\n\nThe window concept as defined in CEA-608 and CEA-708. In WebVTT, this is\ncalled a *region*."]]