שיעור GCKMediaTextTrackStyle
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחלקה שמייצגת סגנון של טראק מדיה עם טקסט.
המחלקות האלה יורשות מ-NSObject. Implements <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 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],["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,[]]