From cda061b852371c869b6966cb0ee704c9266b2de0 Mon Sep 17 00:00:00 2001 From: Julio Lab <156870555+JulioGitLab@users.noreply.github.com> Date: Mon, 20 May 2024 17:07:18 -0600 Subject: [PATCH 1/3] Corrects the description of the CORNER attribute --- src/core/shape/attributes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/shape/attributes.js b/src/core/shape/attributes.js index cad13c6a87..61e9b9e8a0 100644 --- a/src/core/shape/attributes.js +++ b/src/core/shape/attributes.js @@ -186,7 +186,7 @@ p5.prototype.noSmooth = function() { * * By default, the first two parameters of * rect() and square(), - * are the x- and y-coordinates of the shape's center. The next parameters set + * are the x- and y-coordinates of the shape's upper left corner. The next parameters set * the shape's width and height. This is the same as calling * `rectMode(CORNER)`. * From 4892c6f29bad01ffa3cd705ae508fcfabc602efb Mon Sep 17 00:00:00 2001 From: Julio Lab <156870555+JulioGitLab@users.noreply.github.com> Date: Mon, 20 May 2024 17:12:17 -0600 Subject: [PATCH 2/3] Corrects the description of the CORNER attribute --- src/core/shape/attributes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/shape/attributes.js b/src/core/shape/attributes.js index 61e9b9e8a0..b5b7cdeaa7 100644 --- a/src/core/shape/attributes.js +++ b/src/core/shape/attributes.js @@ -15,7 +15,7 @@ import * as constants from '../constants'; * By default, the first two parameters of * ellipse(), circle(), * and arc() - * are the x- and y-coordinates of the shape's center. The next parameters set + * are the x- and y-coordinates of the shape's upper left corner. The next parameters set * the shape's width and height. This is the same as calling * `ellipseMode(CENTER)`. * From 58539ee885603ea4f398bc26e95dcdaf94d8e979 Mon Sep 17 00:00:00 2001 From: Julio Lab <156870555+JulioGitLab@users.noreply.github.com> Date: Tue, 21 May 2024 00:57:44 +0000 Subject: [PATCH 3/3] Revert "Corrects the description of the CORNER attribute" This reverts commit 4892c6f29bad01ffa3cd705ae508fcfabc602efb. --- src/core/shape/attributes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/shape/attributes.js b/src/core/shape/attributes.js index b5b7cdeaa7..61e9b9e8a0 100644 --- a/src/core/shape/attributes.js +++ b/src/core/shape/attributes.js @@ -15,7 +15,7 @@ import * as constants from '../constants'; * By default, the first two parameters of * ellipse(), circle(), * and arc() - * are the x- and y-coordinates of the shape's upper left corner. The next parameters set + * are the x- and y-coordinates of the shape's center. The next parameters set * the shape's width and height. This is the same as calling * `ellipseMode(CENTER)`. *