| Index: Source/core/html/canvas/CanvasPathMethods.idl
|
| diff --git a/Source/core/html/canvas/CanvasPathMethods.idl b/Source/core/html/canvas/CanvasPathMethods.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d2e79d3a5b55ffa3df21bec2e103c613e3dbfbca
|
| --- /dev/null
|
| +++ b/Source/core/html/canvas/CanvasPathMethods.idl
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +[
|
| + NoInterfaceObject
|
| +] interface CanvasPathMethods {
|
| +
|
| + void closePath();
|
| + void moveTo(float x, float y);
|
| + void lineTo(float x, float y);
|
| + void quadraticCurveTo(float cpx, float cpy, float x, float y);
|
| + void bezierCurveTo(float cp1x, float cp1y, float cp2x, float cp2y, float x, float y);
|
| + [RaisesException] void arcTo(float x1, float y1, float x2, float y2, float radius);
|
| + void rect(float x, float y, float width, float height);
|
| + [RaisesException] void arc(float x, float y, float radius, float startAngle, float endAngle, [Default=Undefined] optional boolean anticlockwise);
|
| + [RaisesException] void ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, [Default=Undefined] optional boolean anticlockwise);
|
| +};
|
|
|