Length

open class Length : Serializable

Provides the representation of varying forms of length measure per the TTML specification.

Inheritors

Constructors

Link copied to clipboard
constructor(expression: String)
Initializes a Length object by parsing the given expression.
constructor(value: Double, unit: StyledElement.Unit)
Initializes a Length object using the given numeric value and Unit specification.

Properties

Link copied to clipboard
Link copied to clipboard
val TAG: String

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getValue(): Double
The numeric value of this Length.
Link copied to clipboard
open fun hashCode(): Int