W3cubDocs

/Dart 2

addHitRegion method

void addHitRegion ([Map options ])

Implementation

void addHitRegion([Map options]) {
  if (options != null) {
    var options_1 = convertDartToNative_Dictionary(options);
    _addHitRegion_1(options_1);
    return;
  }
  _addHitRegion_2();
  return;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/CanvasRenderingContext2D/addHitRegion.html