Class Region

All Implemented Interfaces:
Serializable

public class Region extends StyledElement
Represents a region definition for targeting caption rendering on screen in a TTML document.
See Also:
  • Constructor Details

    • Region

      public Region()
  • Method Details

    • getOriginX

      public Length getOriginX()
      The origin X offset for the region.
    • setOriginX

      public void setOriginX(Length originX)
      The origin X offset for the region.
    • getOriginY

      public Length getOriginY()
      The origin Y offset for the region.
    • setOriginY

      public void setOriginY(Length originY)
      The origin Y offset for the region.
    • getExtentX

      public Length getExtentX()
      The length in the X axis for the region.
    • setExtentX

      public void setExtentX(Length extentX)
      The length in the X axis for the region.
    • getExtentY

      public Length getExtentY()
      The length in the Y axis for the region.
    • setExtentY

      public void setExtentY(Length extentY)
      The length in the Y axis for the region.
    • getDisplayAlign

      public Region.DisplayAlign getDisplayAlign()
      The display alignment specification.
    • setDisplayAlign

      public void setDisplayAlign(Region.DisplayAlign displayAlign)
      The display alignment specification.