|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<Context2d.Composite>
com.google.gwt.canvas.dom.client.Context2d.Composite
public static enum Context2d.Composite
Enum for composite style.
Context2d.setGlobalCompositeOperation(Composite)| Enum Constant Summary | |
|---|---|
COPY
A (B is ignored). |
|
DESTINATION_ATOP
B atop A. |
|
DESTINATION_IN
B in A. |
|
DESTINATION_OUT
B out A. |
|
DESTINATION_OVER
B over A. |
|
LIGHTER
A plus B. |
|
SOURCE_ATOP
A atop B. |
|
SOURCE_IN
A in B. |
|
SOURCE_OUT
A out B. |
|
SOURCE_OVER
A over B. |
|
XOR
A xor B. |
|
| Method Summary | |
|---|---|
java.lang.String |
getValue()
|
static Context2d.Composite |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Context2d.Composite[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Context2d.Composite COPY
public static final Context2d.Composite DESTINATION_ATOP
public static final Context2d.Composite DESTINATION_IN
public static final Context2d.Composite DESTINATION_OUT
public static final Context2d.Composite DESTINATION_OVER
public static final Context2d.Composite LIGHTER
public static final Context2d.Composite SOURCE_ATOP
public static final Context2d.Composite SOURCE_IN
public static final Context2d.Composite SOURCE_OUT
public static final Context2d.Composite SOURCE_OVER
public static final Context2d.Composite XOR
| Method Detail |
|---|
public static Context2d.Composite[] values()
for (Context2d.Composite c : Context2d.Composite.values()) System.out.println(c);
public static Context2d.Composite 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
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||