MixBrush(brush1, brush2, level)
brush2
into brush1
at the specified level
.
The argument level
specifies the mixing level which ranges from
0 to 255. Alpha channel and mask data of the second brush are
also taken into account.
Starting with Hollywood 2.0, level can also be a string containing a percent specification, e.g. "50%".
MixBrush(1, 2, 128)The code above mixes brush 2 into brush 1 at a mix ratio of 50% (= 128).