SolidColorBrush.getMixColor

Syntax

getMixColor(brush2: PP.SolidColorBrush, part: Number);

Parameters

brush2. A brush with solid 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).

Description

The getMixColor method returns color of the solid fill brush obtained after mixing with the specified brush in the certain ratio.

Comments

The method returns an object of the String type.

Example

The example of use is given in the page with description of the Font.toCSSFormat method.

SolidColorBrush