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");
}