Tag:globalCompositeOperation

  • Canvas Global Composite Operation

    Time:2019-3-25

    By default, if an object (source) is drawn on top of another object (target) in Canvas, the browser simply superimposes the image of the source object on the image of the target object. Simply put, in Canvas, the source and target images are passed through Canvas.globalCompositeOperationOperations can achieve different results, such as the following figure: […]