Skip to content

Commit

Permalink
Rename introtation parameter to rotation.
Browse files Browse the repository at this point in the history
It was likely a typo during editing.
  • Loading branch information
dmitshur committed Oct 17, 2017
1 parent d2d8617 commit da1872f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dom.go
Expand Up @@ -2098,8 +2098,8 @@ func (ctx *CanvasRenderingContext2D) ArcTo(x1, y1, x2, y2, r float64) {
ctx.Call("arcTo", x1, y1, x2, y2, r)
}

func (ctx *CanvasRenderingContext2D) Ellipse(x, y, radiusX, radiusY, introtation, startAngle, endAngle float64, anticlockwise bool) {
ctx.Call("ellipse", x, y, radiusX, radiusY, introtation, startAngle, endAngle)
func (ctx *CanvasRenderingContext2D) Ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle float64, anticlockwise bool) {
ctx.Call("ellipse", x, y, radiusX, radiusY, rotation, startAngle, endAngle)
}

func (ctx *CanvasRenderingContext2D) Rect(x, y, width, height float64) {
Expand Down

0 comments on commit da1872f

Please sign in to comment.