java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.google.gwt.canvas.dom.client.Context2d.Composite |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
A (B is ignored). Display the source image instead of the destination image.
B atop A. Same as source-atop but using the destination image instead of the source image and vice versa.
B in A. Same as source-in but using the destination image instead of the source image and vice versa.
B out A. Same as source-out but using the destination image instead of the source image and vice versa.
B over A. Same as source-over but using the destination image instead of the source image and vice versa.
A plus B. Display the sum of the source image and destination image, with color values approaching 1 as a limit.
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.
A in B. Display the source image wherever both the source image and destination image are opaque. Display transparency elsewhere.
A out B. Display the source image wherever the source image is opaque and the destination image is transparent. Display transparency elsewhere.
A over B. Display the source image wherever the source image is opaque. Display the destination image elsewhere.
A xor B. Exclusive OR of the source image and destination image.