Name
MixBrush -- mix two brushes (V1.5)
Synopsis
MixBrush(brush1, brush2, level)
Library
brush

Function
This function mixes 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%".

Inputs
brush1
source brush
brush2
brush to mix
level
mixing level (0 to 255 or percent specification)
Example
MixBrush(1, 2, 128)
The code above mixes brush 2 into brush 1 at a mix ratio of 50% (= 128).

Show TOC