Edit this page

opacity

Gets or sets the element opacity. Inherited from Element.opacity

If set, the stroke and fill opacity will be multiplied by the element opacity.

Parameters

opacity NumberThe element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).

ReturnsNumber The current element opacity.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy