Canvas.GlobalOpacity

Syntax

GlobalOpacity: Number;

Description

The GlobalOpacity property sets global transparency for canvas elements.

Comments

Global transparency is multiplied by transparency value specified in the style on element rendering.

Use JSON or the setGlobalOpacity method to set the property value and the getGlobalOpacity method to get the property value.

Transparency range values vary from 0 to 1.

Example

The example of property use is given on the Example of Creating the Canvas Component page.

See also:

Canvas