LinearGradientBrush.applyMixToNode

Syntax

applyMixToNode(node: HTMLElement, brush2: PP.LinearGradientBrush, part: Number);

Parameters

node. DOM element, to which a brush is applied.

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).

Description

The applyMixToNode method applies the brush mixed color with linear gradient fill to the specified DOM element.

Example

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

See also:

LinearGradientBrush