org.alembik.util
Class TranscodingUtils.Coordinates

java.lang.Object
  extended by org.alembik.util.TranscodingUtils.Coordinates
Enclosing class:
TranscodingUtils

public static class TranscodingUtils.Coordinates
extends java.lang.Object

The holder class for the transformation content's position and duration segment of visibility.

See Also:
TranscodingUtils.TRANSFORMATION_OVERLAY_LOGO, TranscodingUtils.setVideoOverlayLogo(TranscodingJob, String, org.alembik.util.TranscodingUtils.Coordinates, Integer), TranscodingUtils.TRANSFORMATION_TEXT_OVERLAY, TranscodingUtils.setVideoTextOverlay(TranscodingJob, String, org.alembik.util.TranscodingUtils.TextOverlayFont, org.alembik.util.TranscodingUtils.Coordinates), TranscodingUtils.setVideoTextScrollOverlay(TranscodingJob, String, org.alembik.util.TranscodingUtils.TextOverlayFont, org.alembik.util.TranscodingUtils.Coordinates)

Constructor Summary
TranscodingUtils.Coordinates(java.lang.Integer posX, java.lang.Integer posY)
          Creates the position coordinates.
TranscodingUtils.Coordinates(java.lang.Integer posX, java.lang.Integer posY, java.lang.Integer offset, java.lang.Integer duration)
          Creates the position and time coordinates.
 
Method Summary
 java.lang.Integer getDuration()
           
 java.lang.Integer getOffset()
           
 java.lang.Integer getPosX()
           
 java.lang.Integer getPosY()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranscodingUtils.Coordinates

public TranscodingUtils.Coordinates(java.lang.Integer posX,
                                    java.lang.Integer posY)
Creates the position coordinates.

Parameters:
posX - horizontal position in pixels
posY - vertical position in pixels

TranscodingUtils.Coordinates

public TranscodingUtils.Coordinates(java.lang.Integer posX,
                                    java.lang.Integer posY,
                                    java.lang.Integer offset,
                                    java.lang.Integer duration)
Creates the position and time coordinates.

Parameters:
posX - horizontal position in pixels
posY - vertical position in pixels
offset - duration offset in seconds
duration - duration in seconds
Method Detail

getPosX

public java.lang.Integer getPosX()
Returns:
horizontal position (in pixels)

getPosY

public java.lang.Integer getPosY()
Returns:
vertical position (in pixels)

getOffset

public java.lang.Integer getOffset()
Returns:
duration offset (in seconds)

getDuration

public java.lang.Integer getDuration()
Returns:
duration length (in seconds)