فئة GCKMediaTextTrackStyle
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
فئة تمثّل نمطًا لمسار وسائط نصية.
تتضمّن NSObject. تنفيذ <NSCopying>
|
(instancetype) | + createDefault |
| تنشئ هذه السمة مثيلاً بقيم تلقائية استنادًا إلى إعدادات الترجمة والشرح في النظام. المزيد...
|
|
أداة تهيئة محدّدة
جميع السمات قابلة للتغيير، وبالتالي يمكن توفيرها بعد الإنشاء.
+ (instancetype) createDefault |
|
|
|
تنشئ هذه السمة مثيلاً بقيم تلقائية استنادًا إلى إعدادات الترجمة والشرح في النظام.
ستعرض هذه الطريقة القيمة nil على الأنظمة الأقدم من iOS 7.
- (GCKMediaTextTrackStyleEdgeType) edgeType |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleWindowType) windowType |
|
readwritenonatomicassign |
- (CGFloat) windowRoundedCornerRadius |
|
readwritenonatomicassign |
القيمة المطلقة لنصف قطر الزاوية المنحنية بالبكسل
مجموعة الخطوط، وفي حال عدم توفّر الخط، سيتم استخدام مجموعة الخطوط العامة.
- (GCKMediaTextTrackStyleFontGenericFamily) fontGenericFamily |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleFontStyle) fontStyle |
|
readwritenonatomicassign |
البيانات المخصّصة، إن وجدت
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003eGCKMediaTextTrackStyle\u003c/code\u003e is a class that manages the style of text-based media tracks.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties to control aspects like font, color, background, and edges of the text.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a default style based on system settings or customize individual properties.\u003c/p\u003e\n"],["\u003cp\u003eIncludes methods for initialization and creation with default values.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eNSObject\u003c/code\u003e and implements the \u003ccode\u003eNSCopying\u003c/code\u003e protocol.\u003c/p\u003e\n"]]],["The `GCKMediaTextTrackStyle` class manages the styling of text media tracks. It allows for creating styles via a designated initializer or by using the `createDefault` method for system-based settings. Key properties include: `fontScale`, `foregroundColor`, `backgroundColor`, `edgeType`, `edgeColor`, `windowType`, `windowColor`, `windowRoundedCornerRadius`, `fontFamily`, `fontGenericFamily`, `fontStyle`, and `customData`. These properties define the appearance of the text, edges, and window. All properties are mutable.\n"],null,[]]