opacity Function

Sets the opacity of the node to the specified value. Returns the handler.

Summary

ElementFunction
ReturnsObject

Arguments

valNumberNew opacity value.

Example

handler.opacity(0.6);