Download E-books HTML5 Canvas for Dummies PDF



source-over

source-in

source-out

source-atop

destination-over

destination-in

destination-out

destination-atop

lighter

copy

xor

within the following sections, I speak about a number of the compositing innovations and make it easier to draw composite shapes. Compositing recommendations Compositing is played in response to the atmosphere for the characteristic globalCompositeOperation. you've got eleven compositing ideas to regulate how gadgets look while positioned relative to each other (refer to determine 4-9): source-over source-in source-out source-atop destination-over destination-in destination-out destination-atop lighter replica xor The resource item is the article drawn first and is a blue sq. within the examples in determine 4-9. The vacation spot form, a pink circle within the examples, is drawn moment after the globalCompositeOperation characteristic is determined.

Rated 4.26 of 5 – based on 37 votes