GCKMediaTextTrackStyle क्लास
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेक्स्ट मीडिया ट्रैक के लिए स्टाइल दिखाने वाली क्लास.
NSObject, <NSकॉपी>, और <NSSecureCoding> को इनहेरिट करता है.
|
(instancetype) | - init |
| खास तौर पर बनाया गया, शुरू करने वाला टूल. ज़्यादा...
|
|
|
(instancetype) | + createDefault |
| सिस्टम की सबटाइटल की सेटिंग के आधार पर, डिफ़ॉल्ट वैल्यू के साथ एक इंस्टेंस बनाता है. ज़्यादा...
|
|
खास तौर पर बनाया गया, शुरू करने वाला टूल.
सभी प्रॉपर्टी में बदलाव किया जा सकता है. इसलिए, प्रॉपर्टी बनाने के बाद उन्हें दिया जा सकता है.
+ (instancetype) createDefault |
|
|
|
सिस्टम की सबटाइटल की सेटिंग के आधार पर, डिफ़ॉल्ट वैल्यू के साथ एक इंस्टेंस बनाता है.
यह तरीका iOS 7 से पुराने सिस्टम पर कुछ नहीं दिखाएगा.
टेक्स्ट के लिए फ़ॉन्ट स्केलिंग का फ़ैक्टर.
- (GCKMediaTextTrackStyleEdgeType) edgeType |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleWindowType) windowType |
|
readwritenonatomicassign |
विंडो किस तरह की है.
हो सकता है कि रिसीवर के कुछ डिवाइसों पर यह एट्रिब्यूट काम न करे.
विंडो का रंग.
हो सकता है कि रिसीवर के कुछ डिवाइसों पर यह एट्रिब्यूट काम न करे.
- (CGFloat) windowRoundedCornerRadius |
|
readwritenonatomicassign |
पिक्सल में गोल कोने वाले दायरे की कुल वैल्यू.
हो सकता है कि रिसीवर के कुछ डिवाइसों पर यह एट्रिब्यूट काम न करे.
फ़ॉन्ट फ़ैमिली; अगर फ़ॉन्ट उपलब्ध नहीं है, तो सामान्य फ़ॉन्ट फ़ैमिली का इस्तेमाल किया जाएगा.
- (GCKMediaTextTrackStyleFontGenericFamily) fontGenericFamily |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleFontStyle) fontStyle |
|
readwritenonatomicassign |
अगर ज़रूरत हो, तो कस्टम डेटा.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eGCKMediaTextTrackStyle\u003c/code\u003e is a class that manages the style of text media tracks, inheriting from \u003ccode\u003eNSObject\u003c/code\u003e, \u003ccode\u003eNSCopying\u003c/code\u003e, and \u003ccode\u003eNSSecureCoding\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers customization options like font scale, colors (foreground, background, edge, window), edge type, window type, font family, style, and rounded corner radius for the window.\u003c/p\u003e\n"],["\u003cp\u003eYou can initialize an instance with default values based on system settings using \u003ccode\u003ecreateDefault\u003c/code\u003e or customize properties after initializing with \u003ccode\u003einit\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSome attributes like \u003ccode\u003ewindowType\u003c/code\u003e, \u003ccode\u003ewindowColor\u003c/code\u003e, and \u003ccode\u003ewindowRoundedCornerRadius\u003c/code\u003e might not be supported by all receiver devices.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecustomData\u003c/code\u003e property allows developers to associate any custom data with the text track style.\u003c/p\u003e\n"]]],["The `GCKMediaTextTrackStyle` class manages the styling of text media tracks. It allows for creating text track styles with customizable properties. You can initialize a new style or create a default style based on system settings. Properties include: font scaling, foreground/background/edge/window colors, edge and window types, rounded corner radius for the window, font family, generic font family, font style, and custom data. All properties are mutable after initialization.\n"],null,[]]