คลาส GCKMediaTextTrackStyle
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คลาสที่แสดงรูปแบบสําหรับแทร็กสื่อข้อความ
รับค่า NSObject ใช้งาน <NSCopying>
ตัวเริ่มต้นที่กําหนด
พร็อพเพอร์ตี้ทั้งหมดจะเปลี่ยนแปลงไม่ได้และจะจัดสรรได้หลังจากการสร้าง
+ (instancetype) createDefault |
|
|
|
สร้างอินสแตนซ์ที่มีค่าเริ่มต้นตามการตั้งค่าคําบรรยายของระบบ
วิธีนี้จะแสดงผลเป็นระบบที่เก่ากว่า 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 และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-12-06 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 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"]]