globalCompositeOperation property

String get globalCompositeOperation

The CanvasRenderingContext2D.globalCompositeOperation property of the Canvas 2D API sets the type of compositing operation to apply when drawing new shapes.

See also Compositing and clipping in the Canvas Tutorial.

Implementation

external String get globalCompositeOperation;
set globalCompositeOperation (String value)

Implementation

external set globalCompositeOperation(String value);