rocinantealpha

reference / color and style

blend

Sets how what is drawn from now on mixes with what is behind it: normal (the default), add, multiply, screen, subtract or lighten. It lasts like fill does, and one shape can say it too: circle at 100 100 radius 50 blend add.

background 20no strokeblend addfill redcircle at 160 140 radius 70fill limecircle at 240 140 radius 70fill bluecircle at 200 200 radius 70
what it draws: the whole window, 400 by 300
What the example of blend draws

How to write it

blend mode

Words it takes

after mode
normal, add, multiply, screen, subtract, lighten

Related