Class: shaka.text.CueRegion

Constructor

new CueRegion()

Implements:
Source:

Members

scrollMode :string

Type:
  • string
Properties:
Name Value Type Description
NONE string
UP up string
Source:

units :number

Type:
  • number
Properties:
Name Value Type Description
PX 0 number
PERCENTAGE 1 number
LINES 2 number
Source:

height

Source:

heightUnits

Source:

regionAnchorX

Source:

regionAnchorY

Source:

scroll :shaka.text.CueRegion.scrollMode

If scroll=UP, it means that cues in the region will be added to the bottom of the region and will push any already displayed cues in the region up. Otherwise (scroll=NONE) cues will stay fixed at the location they were first painted in.
Type:
Implements:
Source:

viewportAnchorUnits

Source:

viewportAnchorX

Source:

viewportAnchorY

Source:

width

Source:

widthUnits

Source: