opacity property

Stroke.opacity property

Defines the amount of transparency of a stroke. Valid range is from 0 to 1.

get opacity(): number

Remarks

The default value is 1.

See Also