SolidColorBrush.getMix

Syntax

getMix(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 getMix method returns the solid fill brush obtained after mixing with the specified brush in the certain ratio.

Comments

The method returns value of the PP.SolidColorBrush type.

Example

The example of use is given in the page with description of the ImageBrush.Source property.

See also:

SolidColorBrush