org.alembik.util
Enum TranscodingUtils.TextOverlayStyle

java.lang.Object
  extended by java.lang.Enum<TranscodingUtils.TextOverlayStyle>
      extended by org.alembik.util.TranscodingUtils.TextOverlayStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TranscodingUtils.TextOverlayStyle>
Enclosing class:
TranscodingUtils

public static enum TranscodingUtils.TextOverlayStyle
extends java.lang.Enum<TranscodingUtils.TextOverlayStyle>

The acceptable values of the TranscodingUtils.TextOverlayAttr.STYLE attribute of the TextOverlay transformation.

See Also:
TranscodingUtils.TRANSFORMATION_TEXT_OVERLAY, TranscodingUtils.TextOverlayAttr, TranscodingUtils.TextOverlayFont, TranscodingUtils.setImageTextOverlay(TranscodingJob, String, org.alembik.util.TranscodingUtils.TextOverlayFont)

Enum Constant Summary
BOLD
          Bold style.
BOLD_ITALIC
          Bold with italic style.
ITALIC
          Italic style.
PLAIN
          Plain style.
 
Method Summary
 java.lang.String getName()
          Returns the identifier of the font style.
static TranscodingUtils.TextOverlayStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TranscodingUtils.TextOverlayStyle[] 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

PLAIN

public static final TranscodingUtils.TextOverlayStyle PLAIN
Plain style.


BOLD

public static final TranscodingUtils.TextOverlayStyle BOLD
Bold style.


ITALIC

public static final TranscodingUtils.TextOverlayStyle ITALIC
Italic style.


BOLD_ITALIC

public static final TranscodingUtils.TextOverlayStyle BOLD_ITALIC
Bold with italic style.

Method Detail

values

public static final TranscodingUtils.TextOverlayStyle[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TranscodingUtils.TextOverlayStyle c : TranscodingUtils.TextOverlayStyle.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static TranscodingUtils.TextOverlayStyle valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getName

public java.lang.String getName()
Returns the identifier of the font style.

Returns:
font style id