|
||||||||||
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.OverlayLogoAttr> org.alembik.util.TranscodingUtils.OverlayLogoAttr
public static enum TranscodingUtils.OverlayLogoAttr
OverlayLogo
transformation attributes.
There are three common attributes for both image and video targets: src
,
protocol
and width
. The rest is specific to the media type
that gets overlayed.
TranscodingUtils.setImageOverlayLogo(TranscodingJob, String, org.alembik.util.TranscodingUtils.OverlayLogoColor, Integer)
,
TranscodingUtils.setVideoOverlayLogo(TranscodingJob, String, org.alembik.util.TranscodingUtils.Coordinates, Integer)
,
TranscodingUtils.getOverlayLogoAttrs(TranscodingJob)
Enum Constant Summary | |
---|---|
DURATION
The number of seconds the logo should be present. |
|
OFFSET
The starting moment of the video (in seconds) when the logo should appear. |
|
POSX
The horizontal position (in pixels) of the logo in the video. |
|
POSY
The vertical position (in pixels) of the logo in the video. |
|
PROTOCOL
The name of the protocol to be used to fetch the logo (for example "HTTP"). |
|
SRC
The location of a logo to be overlayed. |
|
TRANSPARENT_COLOR
The background color of the underlying image. |
|
WIDTH
The desired logo width in pixels. |
Method Summary | |
---|---|
static TranscodingUtils.OverlayLogoAttr |
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.OverlayLogoAttr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TranscodingUtils.OverlayLogoAttr[] |
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.OverlayLogoAttr SRC
public static final TranscodingUtils.OverlayLogoAttr PROTOCOL
TranscodingUtils.SourceProtocol
public static final TranscodingUtils.OverlayLogoAttr WIDTH
public static final TranscodingUtils.OverlayLogoAttr TRANSPARENT_COLOR
TranscodingUtils.OverlayLogoColor
public static final TranscodingUtils.OverlayLogoAttr POSX
public static final TranscodingUtils.OverlayLogoAttr POSY
public static final TranscodingUtils.OverlayLogoAttr OFFSET
public static final TranscodingUtils.OverlayLogoAttr DURATION
Method Detail |
---|
public static final TranscodingUtils.OverlayLogoAttr[] values()
for(TranscodingUtils.OverlayLogoAttr c : TranscodingUtils.OverlayLogoAttr.values()) System.out.println(c);
public static TranscodingUtils.OverlayLogoAttr 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.OverlayLogoAttr 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 |