public static final enum

Context2d.Composite

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.google.gwt.canvas.dom.client.Context2d.Composite

Class Overview

Enum for composite style.

Summary

Enum Values
Context2d.Composite  COPY  A (B is ignored). 
Context2d.Composite  DESTINATION_ATOP  B atop A. 
Context2d.Composite  DESTINATION_IN  B in A. 
Context2d.Composite  DESTINATION_OUT  B out A. 
Context2d.Composite  DESTINATION_OVER  B over A. 
Context2d.Composite  LIGHTER  A plus B. 
Context2d.Composite  SOURCE_ATOP  A atop B. 
Context2d.Composite  SOURCE_IN  A in B. 
Context2d.Composite  SOURCE_OUT  A out B. 
Context2d.Composite  SOURCE_OVER  A over B. 
Context2d.Composite  XOR  A xor B. 
Public Methods
String getValue()
static Context2d.Composite valueOf(String name)
final static Composite[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Context2d.Composite COPY

A (B is ignored). Display the source image instead of the destination image.

public static final Context2d.Composite DESTINATION_ATOP

B atop A. Same as source-atop but using the destination image instead of the source image and vice versa.

public static final Context2d.Composite DESTINATION_IN

B in A. Same as source-in but using the destination image instead of the source image and vice versa.

public static final Context2d.Composite DESTINATION_OUT

B out A. Same as source-out but using the destination image instead of the source image and vice versa.

public static final Context2d.Composite DESTINATION_OVER

B over A. Same as source-over but using the destination image instead of the source image and vice versa.

public static final Context2d.Composite LIGHTER

A plus B. Display the sum of the source image and destination image, with color values approaching 1 as a limit.

public static final Context2d.Composite SOURCE_ATOP

A atop B. Display the source image wherever both images are opaque. Display the destination image wherever the destination image is opaque but the source image is transparent. Display transparency elsewhere.

public static final Context2d.Composite SOURCE_IN

A in B. Display the source image wherever both the source image and destination image are opaque. Display transparency elsewhere.

public static final Context2d.Composite SOURCE_OUT

A out B. Display the source image wherever the source image is opaque and the destination image is transparent. Display transparency elsewhere.

public static final Context2d.Composite SOURCE_OVER

A over B. Display the source image wherever the source image is opaque. Display the destination image elsewhere.

public static final Context2d.Composite XOR

A xor B. Exclusive OR of the source image and destination image.

Public Methods

public String getValue ()

public static Context2d.Composite valueOf (String name)

public static final Composite[] values ()