Add support for blend modes.
Merge pull request #2903 from brendandahl/blend-modes

Add support for blend modes.