This will not only allow users to define custom values for the pointer-events property of a shape, but it will also fix the hit area of lines if we set the default to visiblePainted.
[x] add method for setting this._pointerEvents internally (accessor or string value)
This will not only allow users to define custom values for the
pointer-events
property of a shape, but it will also fix the hit area of lines if we set the default to visiblePainted.this._pointerEvents
internally (accessor or string value)