W3cubDocs

/Dart 2

arc method

void arc (num x, num y, num radius, num startAngle, num endAngle, [ bool anticlockwise = false ])

Implementation

void arc(num x, num y, num radius, num startAngle, num endAngle,
    [bool anticlockwise = false]) {
  // TODO(terry): This should not be needed: dartbug.com/20939.
  JS('void', '#.arc(#, #, #, #, #, #)', this, x, y, radius, startAngle,
      endAngle, anticlockwise);
}

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