Interface TTMLExtent

Represents the extent of a TTML element, as specified by its tts:extent attribute.

Remarks

  • Available since v8.1.1.

See

https://www.w3.org/TR/ttml2/#style-attribute-extent

interface TTMLExtent {
    height: number;
    width: number;
}

Properties

Properties

height: number

The height, in pixels.

width: number

The width, in pixels.