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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया."],[[["`GCKMediaTextTrackStyle` is a class that manages the style of text media tracks, inheriting from `NSObject`, `NSCopying`, and `NSSecureCoding`."],["It 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."],["You can initialize an instance with default values based on system settings using `createDefault` or customize properties after initializing with `init`."],["Some attributes like `windowType`, `windowColor`, and `windowRoundedCornerRadius` might not be supported by all receiver devices."],["`customData` property allows developers to associate any custom data with the text track style."]]],["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"]]