SolidColorBrush.applyToNode

Syntax

applyToNode(node: HTMLElement);

Parameters

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

Description

The applyToNode method applies the solid fill brush to the specified DOM element.

Example

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

SolidColorBrush