public class LengthVtt extends Length
| Modifier and Type | Field and Description |
|---|---|
static java.util.regex.Pattern |
PATTERN_LINE |
static java.util.regex.Pattern |
PATTERN_PERCENTAGE |
static java.lang.String |
TAG |
| Constructor and Description |
|---|
LengthVtt(double value,
StyledElement.Unit unit)
Initializes a Length object using the given numeric value and Unit specification.
|
LengthVtt(java.lang.String expression)
Initializes a Length object by parsing the given expression.
|
public static final java.lang.String TAG
public static final java.util.regex.Pattern PATTERN_PERCENTAGE
public static final java.util.regex.Pattern PATTERN_LINE
public LengthVtt(java.lang.String expression)
expression - the string expression to parsepublic LengthVtt(double value,
StyledElement.Unit unit)
value - the numeric value of the lengthunit - the units for the length value