OOTVClosedCaptionsTextView Class Reference

#import <OOTVClosedCaptionsTextView.h>

+ Inheritance diagram for OOTVClosedCaptionsTextView:

Instance Methods

(instancetype) - initWithFrame:style:backgroundView:
 
(NSArray *) - getRectsForEachLine:
 
(void) - setFont:frame:baseFontSize:
 Add scaling based on video view size when compared to portrait width Captions show up with "default" size when the width of the player is the portrait width When the width of the player is larger or smaller, we will scale the captions accordingly. More...
 
(void) - setText: [implementation]
 

Properties

NSString * nextText
 
MACaptionAppearanceTextEdgeStyle edgeStyle
 
CGFloat textSize
 
OOTVClosedCaptionsTextBackgroundViewbackgroundView
 
NSMutableArray * resultLines
 
OOClosedCaptionsStylestyle
 

Method Documentation

- (NSArray *) getRectsForEachLine: (NSArray *)  separatedLines
- (instancetype) initWithFrame: (CGRect)  frame
style: (OOClosedCaptionsStyle *)  style
backgroundView: (OOTVClosedCaptionsTextBackgroundView *)  backgroundView 
- (void) setFont: (NSString *)  fontName
frame: (CGRect)  frame
baseFontSize: (CGFloat)  fontSize 

Add scaling based on video view size when compared to portrait width Captions show up with "default" size when the width of the player is the portrait width When the width of the player is larger or smaller, we will scale the captions accordingly.

- (void) setText: (NSString *)  text
implementation

Property Documentation

- (OOTVClosedCaptionsTextBackgroundView*) backgroundView
readwritenonatomicassign
- (MACaptionAppearanceTextEdgeStyle) edgeStyle
readwritenonatomicassign
- (NSString*) nextText
readwritenonatomicassign
- (NSMutableArray*) resultLines
readwritenonatomicassign
- (OOClosedCaptionsStyle*) style
readwritenonatomicassign
- (CGFloat) textSize
readwritenonatomicassign

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