VTTRegion class

The interface—part of the API for handling WebVTT (text tracks on media presentations)—describes a portion of the video to render a VTTCue onto.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

VTTRegion()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String

Available on VTTRegion, provided by the PropsVTTRegion extension

getter/setter pair
lines int

Available on VTTRegion, provided by the PropsVTTRegion extension

getter/setter pair
regionAnchorX double

Available on VTTRegion, provided by the PropsVTTRegion extension

getter/setter pair
regionAnchorY double

Available on VTTRegion, provided by the PropsVTTRegion extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scroll ScrollSetting

Available on VTTRegion, provided by the PropsVTTRegion extension

getter/setter pair
viewportAnchorX double

Available on VTTRegion, provided by the PropsVTTRegion extension

getter/setter pair
viewportAnchorY double

Available on VTTRegion, provided by the PropsVTTRegion extension

getter/setter pair
width double

Available on VTTRegion, provided by the PropsVTTRegion extension

getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited