defaultCursor property

String get defaultCursor

Gets or sets the cursor to be used for the Diagram when no GraphObject specifies a different cursor.

Valid CSS cursors are accepted, such as "auto", "default", "none", "context-menu", "help", "pointer", "progress", "wait", etc.

It is possible to use custom cursors with the syntax "url(path_to_image), default". A fallback (like default here) is necessary for a custom cursor to work.

To read more about cursor syntax, go to: CSS cursors (mozilla.org). The default value is "auto".

Implementation

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

Implementation

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