setAction

Sets action that will be executed when clicking on this outline element.

Parameters

action

Action tied to this outline element, may be null.