diff --git a/src/core/shape/2d_primitives.js b/src/core/shape/2d_primitives.js index 7fa36ee89e..a7dc98f9b4 100644 --- a/src/core/shape/2d_primitives.js +++ b/src/core/shape/2d_primitives.js @@ -490,12 +490,11 @@ p5.prototype.ellipse = function(x, y, w, h, detailX) { /** * Draws a circle. * - * A circle is a round shape defined by the `x`, `y`, and `d` - * parameters. `x` and `y` set the location of its center. `d` sets its - * width and height (diameter). Every point on the circle's edge is the - * same distance, `d`, from its center. See - * ellipseMode() for other ways to set - * its position. + * A circle is a round shape defined by the `x`, `y`, and `d` parameters. + * `x` and `y` set the location of its center. `d` sets its width and height (diameter). + * Every point on the circle's edge is the same distance, `0.5 * d`, from its center. + * `0.5 * d` (half the diameter) is the circle's radius. + * See ellipseMode() for other ways to set its position. * * @method circle * @param {Number} x x-coordinate of the center of the circle.