שיעור GCKMediaTextTrackStyle
מחלקה המייצגת סגנון עבור רצועת מדיה מסוג טקסט.
עוברת בירושה את NSObject. יישום <NSCopy>.
|
(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 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2022-12-06 (שעון UTC).
[null,null,["עדכון אחרון: 2022-12-06 (שעון UTC)."],[[["`GCKMediaTextTrackStyle` is a class that manages the style of text-based media tracks."],["It provides properties to control aspects like font, color, background, and edges of the text."],["You can create a default style based on system settings or customize individual properties."],["Includes methods for initialization and creation with default values."],["It inherits from `NSObject` and implements the `NSCopying` protocol."]]],["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"]]