cursor property

String get cursor

Gets or sets the mouse cursor to use when the mouse is over this object with no mouse buttons pressed. The value is null when no particular cursor is specified for this object; the actual cursor is determined by any containing Panel.

The default value is the empty string, which means the current mouse cursor is determined by the Diagram. Other strings should be valid CSS strings that specify a cursor. This provides some more information about cursor syntax: CSS cursors (mozilla.org).

Read more about cursors at Diagram#currentCursor

Implementation

_i2.String get cursor => _i4.getProperty(
      this,
      'cursor',
    );
set cursor (String value)

Implementation

set cursor(_i2.String value) {
  _i4.setProperty(
    this,
    'cursor',
    value,
  );
}