pickable property

bool get pickable

Gets or sets whether or not this GraphObject can be chosen by visual "find" or "hit-test" methods such as Diagram#findObjectAt.

This object does not get any mouse/touch events if it is not #visible or if it is not #pickable.

The default value is true -- mouse events on this object will be noticed. If this value is false and this object is a Panel, not only is this Panel not "hittable", but all of the elements inside the Panel will be ignored.

Implementation

_i2.bool get pickable => _i4.getProperty(
      this,
      'pickable',
    );
set pickable (bool value)

Implementation

set pickable(_i2.bool value) {
  _i4.setProperty(
    this,
    'pickable',
    value,
  );
}