org.alembik.util
Enum TranscodingUtils.OverlayLogoColor

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

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

The acceptable values of the TranscodingUtils.OverlayLogoAttr.TRANSPARENT_COLOR attribute of the OverlayLogo transformation.

See Also:
TranscodingUtils.TRANSFORMATION_OVERLAY_LOGO, TranscodingUtils.OverlayLogoAttr, TranscodingUtils.setImageOverlayLogo(TranscodingJob, String, org.alembik.util.TranscodingUtils.OverlayLogoColor, Integer)

Enum Constant Summary
BLACK
          Black background color.
BLUE
          Blue background color.
CYAN
          Cyan background color.
DARK_GRAY
          Dark gray background color.
GRAY
          Gray background color.
GREEN
          Green background color.
LIGHT_GRAY
          Light gray background color.
MAGENTA
          Magenta background color.
ORANGE
          Orange background color.
PINK
          Pink background color.
RED
          Red background color.
WHITE
          White background color.
YELLOW
          Yellow background color.
 
Method Summary
static TranscodingUtils.OverlayLogoColor fromName(java.lang.String name)
          Gets the enum instance of the given color name.
 java.lang.String getName()
          Returns the color name.
 java.lang.String getValue()
          Returns the color RGB number in HEX format (for example #FFFFFF).
static TranscodingUtils.OverlayLogoColor valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TranscodingUtils.OverlayLogoColor[] 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

BLACK

public static final TranscodingUtils.OverlayLogoColor BLACK
Black background color.


BLUE

public static final TranscodingUtils.OverlayLogoColor BLUE
Blue background color.


CYAN

public static final TranscodingUtils.OverlayLogoColor CYAN
Cyan background color.


DARK_GRAY

public static final TranscodingUtils.OverlayLogoColor DARK_GRAY
Dark gray background color.


GRAY

public static final TranscodingUtils.OverlayLogoColor GRAY
Gray background color.


GREEN

public static final TranscodingUtils.OverlayLogoColor GREEN
Green background color.


LIGHT_GRAY

public static final TranscodingUtils.OverlayLogoColor LIGHT_GRAY
Light gray background color.


MAGENTA

public static final TranscodingUtils.OverlayLogoColor MAGENTA
Magenta background color.


ORANGE

public static final TranscodingUtils.OverlayLogoColor ORANGE
Orange background color.


PINK

public static final TranscodingUtils.OverlayLogoColor PINK
Pink background color.


RED

public static final TranscodingUtils.OverlayLogoColor RED
Red background color.


WHITE

public static final TranscodingUtils.OverlayLogoColor WHITE
White background color.


YELLOW

public static final TranscodingUtils.OverlayLogoColor YELLOW
Yellow background color.

Method Detail

values

public static final TranscodingUtils.OverlayLogoColor[] 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.OverlayLogoColor c : TranscodingUtils.OverlayLogoColor.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.OverlayLogoColor 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 color name.

Returns:
name value

getValue

public java.lang.String getValue()
Returns the color RGB number in HEX format (for example #FFFFFF).

Returns:
color ID

fromName

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

Parameters:
name - color name
Returns:
enum instance.