SolidColorBrush.applyMixToNode

Syntax

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

Parameters

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

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 applyMixToNode method applied the brush mixed color with solid fill to the specified DOM element.

Example

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

SolidColorBrush