SaveCaptionStyle

@Serializable
data class SaveCaptionStyle(var foregroundColor: Int, var backgroundColor: Int, var windowColor: Int, var edgeType: @CaptionStyleCompat.EdgeType Int, var edgeColor: Int, @FontRes var typeface: Int?, var typefaceFilePath: String?, var elevation: Int, var fixedTextSize: Float?, @Px var edgeSize: Float? = null, var removeCaptions: Boolean = false, var removeBloat: Boolean = true, var upperCase: Boolean = false, var bold: Boolean = false, var italic: Boolean = false, var backgroundRadius: Float? = null, var alignment: Int? = null)(source)

Constructors

Link copied to clipboard
constructor(foregroundColor: Int, backgroundColor: Int, windowColor: Int, edgeType: @CaptionStyleCompat.EdgeType Int, edgeColor: Int, @FontRes typeface: Int?, typefaceFilePath: String?, elevation: Int, fixedTextSize: Float?, @Px edgeSize: Float? = null, removeCaptions: Boolean = false, removeBloat: Boolean = true, upperCase: Boolean = false, bold: Boolean = false, italic: Boolean = false, backgroundRadius: Float? = null, alignment: Int? = null)

Properties

Link copied to clipboard
@SerialName(value = "alignment")
var alignment: Int?

The SSA_ALIGNMENT

Link copied to clipboard
@SerialName(value = "backgroundColor")
var backgroundColor: Int
Link copied to clipboard
@SerialName(value = "backgroundRadius")
var backgroundRadius: Float?

in px, background radius, aka how round the background (backgroundColor) on each row is

Link copied to clipboard
@SerialName(value = "bold")
var bold: Boolean

Apply bold to the text

Link copied to clipboard
@SerialName(value = "edgeColor")
var edgeColor: Int
Link copied to clipboard
@SerialName(value = "edgeSize")
var edgeSize: Float?
Link copied to clipboard
@SerialName(value = "edgeType")
var edgeType: @CaptionStyleCompat.EdgeType Int
Link copied to clipboard
@SerialName(value = "elevation")
var elevation: Int
Link copied to clipboard
@SerialName(value = "fixedTextSize")
var fixedTextSize: Float?
Link copied to clipboard
@SerialName(value = "foregroundColor")
var foregroundColor: Int
Link copied to clipboard
@SerialName(value = "italic")
var italic: Boolean

Apply italic to the text

Link copied to clipboard
@SerialName(value = "removeBloat")
var removeBloat: Boolean
Link copied to clipboard
@SerialName(value = "removeCaptions")
var removeCaptions: Boolean
Link copied to clipboard
@SerialName(value = "typeface")
var typeface: Int?
Link copied to clipboard
@SerialName(value = "typefaceFilePath")
var typefaceFilePath: String?
Link copied to clipboard
@SerialName(value = "upperCase")
var upperCase: Boolean

Apply caps lock to the text

Link copied to clipboard
@SerialName(value = "windowColor")
var windowColor: Int