StyledElement

open class StyledElement : Element

Provides a common representation for TTML styled elements. http://www.w3.org/TR/ttaf1-dfxp/#styling

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
enum Unit

Functions

Link copied to clipboard
The background color string.
Link copied to clipboard
open fun getColor(): String
The color string.
Link copied to clipboard
open fun getFontFamily(): String
Link copied to clipboard
open fun getFontSize(): Length
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getID(): String
The identifier of the element.
Link copied to clipboard
open fun getStyleName(): String
The style name string.
Link copied to clipboard
Link copied to clipboard
open fun setBackgroundColor(backgroundColor: String)
The background color string.
Link copied to clipboard
open fun setColor(color: String)
The color string.
Link copied to clipboard
open fun setFontFamily(fontFamily: String)
Link copied to clipboard
open fun setFontSize(fontSize: Length)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setID(id: String)
The identifier of the element.
Link copied to clipboard
open fun setStyleName(styleName: String)
The style name string.
Link copied to clipboard
Link copied to clipboard