opacity property

double get opacity

The opacity for the layer.

The opacity of this layer as a value between 0 (fully transparent) and 1 (fully opaque). The default opacity value is 1.

set opacity (double value)