Skip to content

Commit

Permalink
Update index.html (mdn#3502)
Browse files Browse the repository at this point in the history
anticlockwise -> counterclockwise
  • Loading branch information
timohaver authored Mar 29, 2021
1 parent b9fde6a commit a90f348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/api/path2d/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ <h2 id="Methods">Methods</h2>
<dt>{{domxref("CanvasRenderingContext2D.quadraticCurveTo()", "Path2D.quadraticCurveTo()")}}</dt>
<dd>Adds a quadratic Bézier curve to the current path.</dd>
<dt>{{domxref("CanvasRenderingContext2D.arc()", "Path2D.arc()")}}</dt>
<dd>Adds an arc to the path which is centered at (<code>x, y</code>) position with radius <code>r</code> starting at <code>startAngle</code> and ending at <code>endAngle</code> going in the given direction by <code>anticlockwise</code> (defaulting to clockwise).</dd>
<dd>Adds an arc to the path which is centered at (<code>x, y</code>) position with radius <code>r</code> starting at <code>startAngle</code> and ending at <code>endAngle</code> going in the given direction by <code>counterclockwise</code> (defaulting to clockwise).</dd>
<dt>{{domxref("CanvasRenderingContext2D.arcTo()", "Path2D.arcTo()")}}</dt>
<dd>Adds a circular arc to the path with the given control points and radius, connected to the previous point by a straight line.</dd>
<dt>{{domxref("CanvasRenderingContext2D.ellipse()", "Path2D.ellipse()")}}</dt>
<dd>Adds an elliptical arc to the path which is centered at (<code>x, y</code>) position with the radii <code>radiusX</code> and <code>radiusY</code> starting at <code>startAngle</code> and ending at <code>endAngle</code> going in the given direction by <code>anticlockwise</code> (defaulting to clockwise).</dd>
<dd>Adds an elliptical arc to the path which is centered at (<code>x, y</code>) position with the radii <code>radiusX</code> and <code>radiusY</code> starting at <code>startAngle</code> and ending at <code>endAngle</code> going in the given direction by <code>counterclockwise</code> (defaulting to clockwise).</dd>
<dt>{{domxref("CanvasRenderingContext2D.rect()", "Path2D.rect()")}}</dt>
<dd>Creates a path for a rectangle at position (<code>x, y</code>) with a size that is determined by <code>width</code> and <code>height</code>.</dd>
</dl>
Expand Down

0 comments on commit a90f348

Please sign in to comment.