Region

open class Region : StyledElement

Represents a region definition for targeting caption rendering on screen in a TTML document.

See also

<a href="http://www.w3.org/TR/ttaf1-dfxp/#layout-vocabulary-region">http://www.w3.org/TR/ttaf1-dfxp/#layout-vocabulary-region</a>

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
open var extentX: Length
Link copied to clipboard
open var extentY: Length
Link copied to clipboard
open var originX: Length
Link copied to clipboard
open var originY: Length

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