Hi,

setComposite() is used to blend the source color with the destination color.i.e., Source is the one on which u draw and destination is the one that u draw. i.e., Source is similar to drawing...