The base font size expressed as a percentage of the video height.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
Framework
- Core Media
Declaration
let kCMTextMarkupAttribute_BaseFontSizePercentageRelativeToVideoHeight: CFString
Discussion
Value must be a non-negative CFNumber
. This is a number holding a percentage of the height of the video frame. For example, a value of 5
indicates that the base font size should be 5% of the height of the video.