Available Functions
The function SetMixMode offers the possibility to set the mix mode of a Layer. The function GetMixMode retrieves the mix mode currently in use. They are declared as follows:
• | void SetMixMode(int mode) |
For the parameter mode one of the values described in the table below must be used. If mode has an invalid value, nothing will happen and a message will be displayed inside the Script output window of the Script editor. You can find more information about mix modes and their usage in the MADRIX manual.
Available Parameters
Identifier/ Mix Mode
|
Description
|
int MIXMODE_NORMAL
|
The Normal mix mode.
|
int MIXMODE_DARKEN
|
The Darken mix mode.
|
int MIXMODE_MULTIPLY
|
The Multiply mix mode.
|
int MIXMODE_COLORBURN
|
The Color Burn mix mode.
|
int MIXMODE_LINEARBURN
|
The Linear Burn mix mode.
|
int MIXMODE_LIGHTEN
|
The Lighten (HTP) mix mode.
|
int MIXMODE_SCREEN
|
The Screen mix mode.
|
int MIXMODE_COLORDODGE
|
The Color Dodge mix mode.
|
int MIXMODE_LINEARDODGE
|
The Linear Dodge mix mode.
|
int MIXMODE_OVERLAY
|
The Overlay mix mode.
|
int MIXMODE_SOFTLIGHT
|
The Soft Light mix mode.
|
int MIXMODE_HARDLIGHT
|
The Hard Light mix mode.
|
int MIXMODE_VIVIDLIGHT
|
The Vivid Light mix mode.
|
int MIXMODE_LINEARLIGHT
|
The Linear Light mix mode.
|
int MIXMODE_PINLIGHT
|
The Pin Light mix mode.
|
int MIXMODE_HARDMIX
|
The Hard Mix mix mode.
|
int MIXMODE_DIFFERENCE
|
The Difference mix mode.
|
int MIXMODE_EXCLUSION
|
The Exclusion mix mode.
|
int MIXMODE_AND
|
The AND mix mode.
|
int MIXMODE_OR
|
The OR mix mode.
|
int MIXMODE_XOR
|
The XOR mix mode.
|
int MIXMODE_NAND
|
The NAND mix mode.
|
int MIXMODE_NOR
|
The NOR mix mode.
|
int MIXMODE_MASK
|
The Mask mix mode.
|
|