The transparency and globalCompositeOperationproperty combination, can be used to control rendering of graphics and text on the canvas, synthetic globalCompositeOperationAllowed values copyare: destination-atop, destination-in, destination-in, destination-over, destination-out, lighter, source-atop, source-in, source-out, source-over, source-over, , xor example code is selected, "the HTML5 Definitive Guide"
copy When the effect of the sources drawn on target, ignoring all transparency settings, similar to the effect of direct coverage, is about to
destination-atop Use the target image instead of the original image, it retains transparency and superimposed upon the visible part
destination-inSource and destination images that are not transparent at the display of the source image, source image application transparency and Hellothe application of transparency to show only the image where the target intersection