org.alembik.util
Enum TranscodingUtils.TextOverlayFamily

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

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

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

See Also:
TranscodingUtils.TRANSFORMATION_TEXT_OVERLAY, TranscodingUtils.TextOverlayAttr, 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)

Enum Constant Summary
LUCIDA_BRIGHT_DEMI_BOLD
          LucidaBrightDemiBold font.
LUCIDA_BRIGHT_DEMI_ITALIC
          LucidaBrightDemiItalic font.
LUCIDA_BRIGHT_ITALIC
          LucidaBrightItalic font.
LUCIDA_BRIGHT_REGULAR
          LucidaBrightRegular font.
LUCIDA_SANS_DEMI_BOLD
          LucidaSansDemiBold font.
LUCIDA_SANS_REGULAR
          LucidaSansRegular font.
LUCIDA_TYPEWRITER_BOLD
          LucidaTypewriterBold font.
LUCIDA_TYPEWRITER_REGULAR
          LucidaTypewriterRegular font.
 
Method Summary
static TranscodingUtils.TextOverlayFamily fromName(java.lang.String name)
          Gets the enum instance of the given font name.
 java.lang.String getName()
          Returns the name of the font.
static TranscodingUtils.TextOverlayFamily valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TranscodingUtils.TextOverlayFamily[] 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

LUCIDA_BRIGHT_DEMI_BOLD

public static final TranscodingUtils.TextOverlayFamily LUCIDA_BRIGHT_DEMI_BOLD
LucidaBrightDemiBold font.


LUCIDA_BRIGHT_DEMI_ITALIC

public static final TranscodingUtils.TextOverlayFamily LUCIDA_BRIGHT_DEMI_ITALIC
LucidaBrightDemiItalic font.


LUCIDA_BRIGHT_ITALIC

public static final TranscodingUtils.TextOverlayFamily LUCIDA_BRIGHT_ITALIC
LucidaBrightItalic font.


LUCIDA_BRIGHT_REGULAR

public static final TranscodingUtils.TextOverlayFamily LUCIDA_BRIGHT_REGULAR
LucidaBrightRegular font.


LUCIDA_SANS_DEMI_BOLD

public static final TranscodingUtils.TextOverlayFamily LUCIDA_SANS_DEMI_BOLD
LucidaSansDemiBold font.


LUCIDA_SANS_REGULAR

public static final TranscodingUtils.TextOverlayFamily LUCIDA_SANS_REGULAR
LucidaSansRegular font.


LUCIDA_TYPEWRITER_BOLD

public static final TranscodingUtils.TextOverlayFamily LUCIDA_TYPEWRITER_BOLD
LucidaTypewriterBold font.


LUCIDA_TYPEWRITER_REGULAR

public static final TranscodingUtils.TextOverlayFamily LUCIDA_TYPEWRITER_REGULAR
LucidaTypewriterRegular font.

Method Detail

values

public static final TranscodingUtils.TextOverlayFamily[] 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.TextOverlayFamily c : TranscodingUtils.TextOverlayFamily.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.TextOverlayFamily 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 name of the font.

Returns:
font name

fromName

public static TranscodingUtils.TextOverlayFamily fromName(java.lang.String name)
Gets the enum instance of the given font name.

Parameters:
name - font name
Returns:
enum instance.