Package 

Class Region

  • 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
    • 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