يصف معلومات النمط لمسار نصي.
يتم تمثيل الألوان كسلاسل " #RRGGBBAA" حيث يمثّل XX الرمزَين السداسي العشري اللذين يمثّلان القيمة من 0 إلى 255 للقناة/اللون المحدّد. يتبع تدوين اللون الست عشري في CSS المكون من 8 أرقام.
(راجع http://dev.w3.org/csswg/css-color/#hex-notation).
الشركة المصنِّعة
TextTrackStyle
new
TextTrackStyle()
أماكن إقامة
backgroundColor
سلسلة قابلة للقيم الفارغة
لون نموذج أحمر أخضر أزرق للخلفية، يتم تمثيله كـ "#RRGGBBAA".
يجب استخدام قناة ألفا للخلفيات الشفافة.
customData
كائن قابل للقيم الفارغة
بيانات التطبيق المُخصَّصة.
edgeColor
سلسلة قابلة للقيم الفارغة
لون نموذج أحمر أخضر أزرق للحافة، يتم تمثيله كـ "#RRGGBBAA".
سيتم تجاهل هذه القيمة إذا كانت EdgeType بقيمة "NONE".
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003echrome.cast.media.TextTrackStyle\u003c/code\u003e defines the style of text tracks (e.g., captions or subtitles) in a Cast session.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties for customizing text appearance, such as font, color, background, and edge styles.\u003c/p\u003e\n"],["\u003cp\u003eColors are specified using 8-digit hexadecimal RGBA values ("#RRGGBBAA").\u003c/p\u003e\n"],["\u003cp\u003eIt also supports custom application data and window styling for text tracks.\u003c/p\u003e\n"],["\u003cp\u003eTextTrackStyle properties allow developers to control how text is displayed during media playback on Cast devices.\u003c/p\u003e\n"]]],["`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"],null,[]]