GCKMediaTextTrackStyle Class Reference

A class representing a style for a text media track. More...

#import <GCKMediaTextTrackStyle.h>

+ Inheritance diagram for GCKMediaTextTrackStyle:

Instance Methods

(instancetype) - init
 Designated initializer. More...
 

Class Methods

(instancetype) + createDefault
 Creates an instance with default values based on the system's closed captioning settings. More...
 

Properties

CGFloat fontScale
 The font scaling factor for the text. More...
 
GCKColorforegroundColor
 The foreground color. More...
 
GCKColorbackgroundColor
 The background color. More...
 
GCKMediaTextTrackStyleEdgeType edgeType
 The edge type. More...
 
GCKColoredgeColor
 The edge color. More...
 
GCKMediaTextTrackStyleWindowType windowType
 The window type. More...
 
GCKColorwindowColor
 The window color. More...
 
CGFloat windowRoundedCornerRadius
 Rounded corner radius absolute value in pixels. More...
 
NSString * fontFamily
 The font family; if the font is not available, the generic font family will be used. More...
 
GCKMediaTextTrackStyleFontGenericFamily fontGenericFamily
 The generic font family. More...
 
GCKMediaTextTrackStyleFontStyle fontStyle
 The font style. More...
 
id customData
 The custom data, if any. More...
 

Detailed Description

A class representing a style for a text media track.

Method Documentation

+ (instancetype) createDefault

Creates an instance with default values based on the system's closed captioning settings.

This method will return nil on systems older than iOS 7.

- (instancetype) init

Designated initializer.

All properties are mutable and so can be supplied after construction.

Property Documentation

- (GCKColor*) backgroundColor
readwritenonatomiccopy

The background color.

- (id) customData
readwritenonatomicstrong

The custom data, if any.

- (GCKColor*) edgeColor
readwritenonatomiccopy

The edge color.

- (GCKMediaTextTrackStyleEdgeType) edgeType
readwritenonatomicassign

The edge type.

- (NSString*) fontFamily
readwritenonatomiccopy

The font family; if the font is not available, the generic font family will be used.

- (GCKMediaTextTrackStyleFontGenericFamily) fontGenericFamily
readwritenonatomicassign

The generic font family.

- (CGFloat) fontScale
readwritenonatomicassign

The font scaling factor for the text.

- (GCKMediaTextTrackStyleFontStyle) fontStyle
readwritenonatomicassign

The font style.

- (GCKColor*) foregroundColor
readwritenonatomiccopy

The foreground color.

- (GCKColor*) windowColor
readwritenonatomiccopy

The window color.

Some receiver devices may not support this attribute.

- (CGFloat) windowRoundedCornerRadius
readwritenonatomicassign

Rounded corner radius absolute value in pixels.

Some receiver devices may not support this attribute.

- (GCKMediaTextTrackStyleWindowType) windowType
readwritenonatomicassign

The window type.

Some receiver devices may not support this attribute.


The documentation for this class was generated from the following file: