|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TranscodingUtils.TextOverlayAttr> org.alembik.util.TranscodingUtils.TextOverlayAttr
public static enum TranscodingUtils.TextOverlayAttr
The TextOverlay
transformation attributes.
There are three attributes used for both image and video: message
,
family
, color
. The rest is specific to the media type
that gets overlayed.
TranscodingUtils.setImageTextOverlay(TranscodingJob, String, org.alembik.util.TranscodingUtils.TextOverlayFont)
,
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)
,
TranscodingUtils.getOverlayLogoAttrs(TranscodingJob)
Enum Constant Summary | |
---|---|
COLOR
The font color of the overlayed text. |
|
DURATION
The number of seconds the text should be displayed over the video. |
|
EFFECT
The additional effect (applies to images only). |
|
FAMILY
The font family of the overlayed text. |
|
MESSAGE
The text to be overlayed. |
|
OFFSET
The starting moment in the video (in seconds) when the text should appear. |
|
OPACITY
The text opacity (applies to images only). |
|
ORIENTATION
The font/text orientation (applies to images only). |
|
POSX
The horizontal position (in pixels) of the text in the video frame. |
|
POSY
The vertical position (in pixels) of the text in the video frame. |
|
SCROLL
If true the text will be scrolled over the video. |
|
SIZE
The font size (applies to videos only). |
|
SMOOTH
If true the text will be smoothened (applies to images only). |
|
STYLE
The font style (applies to images only). |
Method Summary | |
---|---|
static TranscodingUtils.TextOverlayAttr |
fromName(java.lang.String name)
Gets the enum instance of the given attribute name. |
java.lang.String |
getName()
Returns the name of the attribute. |
static TranscodingUtils.TextOverlayAttr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TranscodingUtils.TextOverlayAttr[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TranscodingUtils.TextOverlayAttr MESSAGE
public static final TranscodingUtils.TextOverlayAttr FAMILY
TranscodingUtils.TextOverlayFamily
public static final TranscodingUtils.TextOverlayAttr COLOR
TranscodingUtils.TextOverlayColor
public static final TranscodingUtils.TextOverlayAttr STYLE
TranscodingUtils.TextOverlayStyle
public static final TranscodingUtils.TextOverlayAttr OPACITY
public static final TranscodingUtils.TextOverlayAttr SMOOTH
true
the text will be smoothened (applies to images only).
public static final TranscodingUtils.TextOverlayAttr ORIENTATION
TranscodingUtils.TextOverlayOrientation
public static final TranscodingUtils.TextOverlayAttr EFFECT
TranscodingUtils.TextOverlayEffect
public static final TranscodingUtils.TextOverlayAttr OFFSET
public static final TranscodingUtils.TextOverlayAttr SIZE
public static final TranscodingUtils.TextOverlayAttr POSY
public static final TranscodingUtils.TextOverlayAttr POSX
public static final TranscodingUtils.TextOverlayAttr SCROLL
true
the text will be scrolled over the video.
public static final TranscodingUtils.TextOverlayAttr DURATION
Method Detail |
---|
public static final TranscodingUtils.TextOverlayAttr[] values()
for(TranscodingUtils.TextOverlayAttr c : TranscodingUtils.TextOverlayAttr.values()) System.out.println(c);
public static TranscodingUtils.TextOverlayAttr valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String getName()
public static TranscodingUtils.TextOverlayAttr fromName(java.lang.String name)
name
- the attribute name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |