org.alembik.util
Class TranscodingUtils.Coordinates
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranscodingUtils.Coordinates
public TranscodingUtils.Coordinates(java.lang.Integer posX,
java.lang.Integer posY)
- Creates the position coordinates.
- Parameters:
posX
- horizontal position in pixelsposY
- 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 pixelsposY
- vertical position in pixelsoffset
- duration offset in secondsduration
- duration in seconds
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)