focusObject method

void focusObject([
  1. GraphObject? obj
])

(undocumented) Sets the GraphObject on which to focus the viewport. @param {GraphObject | null} obj @since 2.1

Implementation

void focusObject([_i3.GraphObject? obj]) {
  _i4.callMethod(
    this,
    'focusObject',
    [obj ?? _i5.undefined],
  );
}