คลาส GCKMediaTextTrackStyle
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คลาสที่แสดงรูปแบบสำหรับแทร็กสื่อข้อความ
รับค่า NSObject ใช้ <NSCopying>
ตัวเริ่มต้นที่กำหนด
พร็อพเพอร์ตี้ทั้งหมดสามารถเปลี่ยนแปลงได้ จึงสามารถระบุได้หลังจากการสร้าง
+ (instancetype) createDefault |
|
|
|
สร้างอินสแตนซ์ที่มีค่าเริ่มต้นตามการตั้งค่าคำบรรยายแทนเสียงของระบบ
วิธีนี้จะแสดงผลเป็น nil ในระบบที่เก่ากว่า iOS 7
ค่าตัวคูณมาตราส่วนแบบอักษรสำหรับข้อความ
- (GCKMediaTextTrackStyleEdgeType) edgeType |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleWindowType) windowType |
|
readwritenonatomicassign |
- (CGFloat) windowRoundedCornerRadius |
|
readwritenonatomicassign |
ค่าสัมบูรณ์ของรัศมีมุมโค้งในหน่วยพิกเซล
ชุดแบบอักษร หากไม่มีแบบอักษร ระบบจะใช้ชุดแบบอักษรทั่วไป
- (GCKMediaTextTrackStyleFontGenericFamily) fontGenericFamily |
|
readwritenonatomicassign |
- (GCKMediaTextTrackStyleFontStyle) fontStyle |
|
readwritenonatomicassign |
ข้อมูลที่กำหนดเอง (หากมี)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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,[]]