LinearGradientBrush.getMixColor

Syntax

getMix(brush2: PP.LinearGradientBrush, part: Number, stop: Number)

Parameters

brush2. A brush with linear gradient fill, which should be mixed.

part. Part of use of the specified brush. Value can vary from 0 (brush is not applied) to 1 (only this brush is applied).

stop. Mixing gradient index.

Description

The getMixColor method returns color obtained after mixing of gradient colors in the certain ratio.

Comments

The method mixes colors of GradientStops with equal indexes in both brushes.

The method returns color value of the String type in the "#RRGGBB" format.

Example

The method use is given in description of the getMix method.

See also:

LinearGradientBrush