-
- All Implemented Interfaces:
-
java.io.Serializable
public class Region extends StyledElement
Represents a region definition for targeting caption rendering on screen in a TTML document.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
Region.DisplayAlign
-
Field Summary
Fields Modifier and Type Field Description private Length
originX
private Length
originY
private Length
extentX
private Length
extentY
private Region.DisplayAlign
displayAlign
-
Method Summary
Modifier and Type Method Description Length
getOriginX()
The origin X offset for the region. void
setOriginX(Length originX)
The origin X offset for the region. Length
getOriginY()
The origin Y offset for the region. void
setOriginY(Length originY)
The origin Y offset for the region. Length
getExtentX()
The length in the X axis for the region. void
setExtentX(Length extentX)
The length in the X axis for the region. Length
getExtentY()
The length in the Y axis for the region. void
setExtentY(Length extentY)
The length in the Y axis for the region. Region.DisplayAlign
getDisplayAlign()
The display alignment specification. void
setDisplayAlign(Region.DisplayAlign displayAlign)
The display alignment specification. -
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
-
Methods inherited from class com.brightcove.player.model.Element
getID, setID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getOriginX
Length getOriginX()
The origin X offset for the region.
-
setOriginX
void setOriginX(Length originX)
The origin X offset for the region.
-
getOriginY
Length getOriginY()
The origin Y offset for the region.
-
setOriginY
void setOriginY(Length originY)
The origin Y offset for the region.
-
getExtentX
Length getExtentX()
The length in the X axis for the region.
-
setExtentX
void setExtentX(Length extentX)
The length in the X axis for the region.
-
getExtentY
Length getExtentY()
The length in the Y axis for the region.
-
setExtentY
void setExtentY(Length extentY)
The length in the Y axis for the region.
-
getDisplayAlign
Region.DisplayAlign getDisplayAlign()
The display alignment specification.
-
setDisplayAlign
void setDisplayAlign(Region.DisplayAlign displayAlign)
The display alignment specification.
-
-
-
-