Interface: shakaExtern.CueRegion

Members

(export) height :number

The width of the rendering area in heightUnits.
Type:
  • number
Source:

(export) heightUnits :shaka.text.CueRegion.units

The units (percentage, pixels or lines) the region height is in.
Type:
Source:

(export) id :string

Region identifier.
Type:
  • string
Source:

(export) regionAnchorX :number

The X offset to start the rendering area in percentage (0-100) of the region width.
Type:
  • number
Source:

(export) regionAnchorY :number

The Y offset to start the rendering area in percentage (0-100) of the region height.
Type:
  • number
Source:

(export) 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:
Source:

(export) viewportAnchorUnits :shaka.text.CueRegion.units

The units (percentage or pixels) the region viewportAnchors are in.
Type:
Source:

(export) viewportAnchorX :number

The X offset to start the rendering area in anchorUnits of the video width.
Type:
  • number
Source:

(export) viewportAnchorY :number

The X offset to start the rendering area in anchorUnits of the video height.
Type:
  • number
Source:

(export) width :number

The width of the rendering area in widthUnits.
Type:
  • number
Source:

(export) widthUnits :shaka.text.CueRegion.units

The units (percentage or pixels) the region width is in.
Type:
Source: