Predefined Functions – compose
Function name: | compose – Compose two colors |
Synopsis: | compose(col1,col2,transparency) |
Input data type | Output data type |
---|---|
color, color, real | color |
Description:
This function performs color composition just as the layer merging in ChaosPro. It “composes” the second color on top of the first color. The transparencies of the two colors are taken into account. So basically this function does some kind of “natural interpolation”: It’s as if you would place a sheet of colored paper having the color and transparency of the second color over a sheet of paper which has the color of the first parameter.