drawFocusIfNeeded method

void drawFocusIfNeeded(element_OR_path, [ Element element ])

Source

void drawFocusIfNeeded(element_OR_path, [Element element]) {
  if ((element_OR_path is Element) && element == null) {
    _blink.BlinkCanvasRenderingContext2D.instance
        .drawFocusIfNeeded_Callback_1_(this, element_OR_path);
    return;
  }
  if ((element is Element) && (element_OR_path is Path2D)) {
    _blink.BlinkCanvasRenderingContext2D.instance
        .drawFocusIfNeeded_Callback_2_(this, element_OR_path, element);
    return;
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/CanvasRenderingContext2D/drawFocusIfNeeded.html