Blendmode

Methods

Nil <- setMode (String mode)
Valid modes:
Add - adds the source to the destination
AlphaAdd - alpha-multiplies the source before adding
Multiply - multiplies the source by the destination
Normal - alpha-blends the source over the destination
Behind - blends using the destination alpha so the source is drawn 'behind'
CanvasCut - only draws where destination is opaque
CanvasMask - uses the canvas alpha as a mask, completely replaces destination
SourceMask - destination color and source alpha, completely replaces source

String mode <- getMode ()
description