|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BlendOp>
ch.reto_hoehener.japng.BlendOp
public enum BlendOp
Blending Operation - Specifies whether the frame is to be alpha blended into the current output buffer content, or whether it should completely replace its region in the output buffer.
Note that for the first frame the two blend modes are functionally equivalent due to the clearing of the output buffer at the beginning of each play.
(quoted from the APNG specification)
Enum Constant Summary | |
---|---|
OVER
The frame should be composited onto the output buffer based on its alpha, using a simple OVER operation as described in the "Alpha Channel Processing" section of the PNG specification [PNG-1.2]. |
|
SOURCE
All color components of the frame, including alpha, overwrite the current contents of the frame's output buffer region. |
Method Summary | |
---|---|
static BlendOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BlendOp[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BlendOp SOURCE
(quoted from the APNG specification)
This corresponds to "APNG_BLEND_OP_SOURCE" or an int value of 0.
public static final BlendOp OVER
(quoted from the APNG specification)
This corresponds to "APNG_BLEND_OP_OVER" or an int value of 1.
Method Detail |
---|
public static final BlendOp[] values()
for(BlendOp c : BlendOp.values()) System.out.println(c);
public static BlendOp 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 name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |