Fixed

data class Fixed(@Dimension val unit: Int, val size: Float) : SubtitleTextSize

Represents a fixed size for caption text.

Constructors

Link copied to clipboard
constructor(@Dimension unit: Int, size: Float)

Properties

Link copied to clipboard
val size: Float

The size of the text in the specified unit.

Link copied to clipboard
val unit: Int

The unit of the text size. This should be one of the Dimension constants.