একটি পাঠ্য ট্র্যাকের জন্য শৈলী তথ্য বর্ণনা করে। রঙগুলিকে "#RRGGBBAA" স্ট্রিং হিসাবে উপস্থাপন করা হয় যেখানে XX হল দুটি হেক্সাডেসিমেল চিহ্ন যা নির্দিষ্ট চ্যানেল/রঙের জন্য 0-255 মানকে উপস্থাপন করে। এটি CSS 8-সংখ্যার হেক্স কালার নোটেশন অনুসরণ করে। (http://dev.w3.org/csswg/css-color/#hex-notation দেখুন)।
কনস্ট্রাক্টর
টেক্সটট্র্যাকস্টাইল
নতুন টেক্সটট্র্যাকস্টাইল()
বৈশিষ্ট্য
পেছনের রং
বাতিলযোগ্য স্ট্রিং
ব্যাকগ্রাউন্ড RGBA রঙ, "#RRGGBBAA" হিসাবে উপস্থাপিত। স্বচ্ছ ব্যাকগ্রাউন্ডের জন্য আলফা চ্যানেল ব্যবহার করা উচিত।
কাস্টম ডেটা
বাতিলযোগ্য বস্তু
কাস্টম অ্যাপ্লিকেশন ডেটা।
প্রান্ত রঙ
বাতিলযোগ্য স্ট্রিং
প্রান্তের জন্য 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"]],["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\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,[]]