CMTextMarkup
Attributes that specify text markup in legible media.
Overview
Core Media supports legible media streams like subtitles and closed captions. In some cases, apps may need to specify style information to control rendering. In other cases, the framework indicates the text and styling to apply.
Topics
Fonts
kCMTextMarkupAttribute_FontFamilyNamekCMTextMarkupAttribute_GenericFontFamilyNamekCMTextMarkupAttribute_BaseFontSizePercentageRelativeToVideoHeightkCMTextMarkupAttribute_RelativeFontSize
Styles
kCMTextMarkupAttribute_BoldStylekCMTextMarkupAttribute_ItalicStylekCMTextMarkupAttribute_UnderlineStylekCMTextMarkupAttribute_CharacterEdgeStyle
Colors
kCMTextMarkupAttribute_ForegroundColorARGBkCMTextMarkupAttribute_BackgroundColorARGBkCMTextMarkupAttribute_CharacterBackgroundColorARGB