setDrawFPS method

void setDrawFPS(
  1. bool isEnabled,
  2. Point<int> pos
)

Enable/disable frames per second draw.

Parameters

  • IN isEnabled True to enable frames per second draw
  • IN pos The position of the frames per second draw

Throws

  • An exception if it fails.

Implementation

void setDrawFPS(final bool isEnabled, final Point<int> pos) {
  objectMethod(
    _pointerId,
    'MapViewPreferences',
    'setDrawFPS',
    args: <String, Object>{
      'bEnable': isEnabled,
      'pos': XyType<int>.fromPoint(pos),
    },
  );
}