public static enum IPlayer.AlphaRenderMode extends java.lang.Enum<IPlayer.AlphaRenderMode>
Used for rendering video frames that contain an alpha channel (transparency). The video frame is split into an RGB image region and an alpha channel region. The player extracts both parts based on the specified layout and performs alpha blending. Commonly used for live-stream gifts, animated overlays, and other transparent effects.
| Enum Constant and Description |
|---|
RENDER_MODE_ALPHA_AT_BOTTOM
Alpha channel is on the bottom of the frame.
|
RENDER_MODE_ALPHA_AT_LEFT
Alpha channel is on the left side of the frame.
|
RENDER_MODE_ALPHA_AT_RIGHT
Alpha channel is on the right side of the frame.
|
RENDER_MODE_ALPHA_AT_TOP
Alpha channel is on the top of the frame.
|
RENDER_MODE_ALPHA_NONE
No alpha rendering.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Query the value of the specified parameter.
|
static IPlayer.AlphaRenderMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IPlayer.AlphaRenderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IPlayer.AlphaRenderMode RENDER_MODE_ALPHA_NONE
public static final IPlayer.AlphaRenderMode RENDER_MODE_ALPHA_AT_RIGHT
public static final IPlayer.AlphaRenderMode RENDER_MODE_ALPHA_AT_LEFT
public static final IPlayer.AlphaRenderMode RENDER_MODE_ALPHA_AT_TOP
public static final IPlayer.AlphaRenderMode RENDER_MODE_ALPHA_AT_BOTTOM
public static IPlayer.AlphaRenderMode[] values()
for (IPlayer.AlphaRenderMode c : IPlayer.AlphaRenderMode.values()) System.out.println(c);
public static IPlayer.AlphaRenderMode 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 namejava.lang.NullPointerException - if the argument is nullpublic int getValue()