Package com.brightcove.player.model
Class Region
java.lang.Object
com.brightcove.player.model.Element
com.brightcove.player.model.StyledElement
com.brightcove.player.model.Region
- All Implemented Interfaces:
Serializable
Represents a region definition for targeting caption rendering on screen in a TTML document.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.brightcove.player.model.StyledElement
StyledElement.FontStyle, StyledElement.FontWeight, StyledElement.TextAlign, StyledElement.TextDecoration, StyledElement.Unit
-
Field Summary
Fields inherited from class com.brightcove.player.model.StyledElement
backgroundColor, color, fontFamily, fontSize, fontStyle, fontWeight, styleName, textAlign, textDecoration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe display alignment specification.The length in the X axis for the region.The length in the Y axis for the region.The origin X offset for the region.The origin Y offset for the region.void
setDisplayAlign
(Region.DisplayAlign displayAlign) The display alignment specification.void
setExtentX
(Length extentX) The length in the X axis for the region.void
setExtentY
(Length extentY) The length in the Y axis for the region.void
setOriginX
(Length originX) The origin X offset for the region.void
setOriginY
(Length originY) The origin Y offset for the region.Methods inherited from class com.brightcove.player.model.StyledElement
getBackgroundColor, getColor, getFontFamily, getFontSize, getFontStyle, getFontWeight, getStyleName, getTextAlign, getTextDecoration, setBackgroundColor, setColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setStyleName, setTextAlign, setTextDecoration
-
Constructor Details
-
Region
public Region()
-
-
Method Details
-
getOriginX
The origin X offset for the region. -
setOriginX
The origin X offset for the region. -
getOriginY
The origin Y offset for the region. -
setOriginY
The origin Y offset for the region. -
getExtentX
The length in the X axis for the region. -
setExtentX
The length in the X axis for the region. -
getExtentY
The length in the Y axis for the region. -
setExtentY
The length in the Y axis for the region. -
getDisplayAlign
The display alignment specification. -
setDisplayAlign
The display alignment specification.
-