Skip to content

Commit 05ba126

Browse files
committed
docs(src/color): Edit descriptions for @lm-n‘s feedback
Link to relevant feedback: #5577 (comment)
1 parent b371739 commit 05ba126

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/color/setting.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ p5.prototype.fill = function(...args) {
514514
* rect(15, 10, 55, 55);
515515
* noFill();
516516
* rect(20, 20, 60, 60);
517-
* describe(`white rect top middle and noFill rect center.
518-
* Both 60×60 with black outlines.`);
517+
* describe(`White rect at top middle and noFill rect center,
518+
* both with black outlines.`);
519519
* </code>
520520
* </div>
521521
*
@@ -553,7 +553,7 @@ p5.prototype.noFill = function() {
553553
* <code>
554554
* noStroke();
555555
* rect(20, 20, 60, 60);
556-
* describe('60×60 white rect at center. no outline.');
556+
* describe('White rect at center; no outline.');
557557
* </code>
558558
* </div>
559559
*
@@ -611,7 +611,7 @@ p5.prototype.noStroke = function() {
611611
* strokeWeight(4);
612612
* stroke(51);
613613
* rect(20, 20, 60, 60);
614-
* describe('60×60 white rect at center. Dark charcoal grey outline.');
614+
* describe('White rect at center with dark charcoal grey outline.');
615615
* </code>
616616
* </div>
617617
*
@@ -621,7 +621,7 @@ p5.prototype.noStroke = function() {
621621
* stroke(255, 204, 0);
622622
* strokeWeight(4);
623623
* rect(20, 20, 60, 60);
624-
* describe('60×60 white rect at center. Yellow outline.');
624+
* describe('White rect at center with yellow outline.');
625625
* </code>
626626
* </div>
627627
*
@@ -632,7 +632,7 @@ p5.prototype.noStroke = function() {
632632
* strokeWeight(4);
633633
* stroke(255, 204, 100);
634634
* rect(20, 20, 60, 60);
635-
* describe('60×60 white rect at center. Royal blue outline.');
635+
* describe('White rect at center with royal blue outline.');
636636
* </code>
637637
* </div>
638638
*
@@ -642,7 +642,7 @@ p5.prototype.noStroke = function() {
642642
* stroke('red');
643643
* strokeWeight(4);
644644
* rect(20, 20, 60, 60);
645-
* describe('60×60 white rect at center. Red outline.');
645+
* describe('White rect at center with red outline.');
646646
* </code>
647647
* </div>
648648
*
@@ -652,7 +652,7 @@ p5.prototype.noStroke = function() {
652652
* stroke('#fae');
653653
* strokeWeight(4);
654654
* rect(20, 20, 60, 60);
655-
* describe('60×60 white rect at center. Pink outline.');
655+
* describe('White rect at center with pink outline.');
656656
* </code>
657657
* </div>
658658
*
@@ -662,7 +662,7 @@ p5.prototype.noStroke = function() {
662662
* stroke('#222222');
663663
* strokeWeight(4);
664664
* rect(20, 20, 60, 60);
665-
* describe('60×60 white rect at center. Black outline.');
665+
* describe('White rect at center with black outline.');
666666
* </code>
667667
* </div>
668668
*
@@ -672,7 +672,7 @@ p5.prototype.noStroke = function() {
672672
* stroke('rgb(0,255,0)');
673673
* strokeWeight(4);
674674
* rect(20, 20, 60, 60);
675-
* describe('60×60 white rect at center. Bright green outline.');
675+
* describe('White rect at center with bright green outline.');
676676
* </code>
677677
* </div>
678678
*
@@ -682,7 +682,7 @@ p5.prototype.noStroke = function() {
682682
* stroke('rgba(0,255,0,0.25)');
683683
* strokeWeight(4);
684684
* rect(20, 20, 60, 60);
685-
* describe('60×60 white rect at center. Soft green outline.');
685+
* describe('White rect at center with soft green outline.');
686686
* </code>
687687
* </div>
688688
*
@@ -692,7 +692,7 @@ p5.prototype.noStroke = function() {
692692
* stroke('rgb(100%,0%,10%)');
693693
* strokeWeight(4);
694694
* rect(20, 20, 60, 60);
695-
* describe('60×60 white rect at center. Red outline.');
695+
* describe('White rect at center with red outline.');
696696
* </code>
697697
* </div>
698698
*
@@ -702,7 +702,7 @@ p5.prototype.noStroke = function() {
702702
* stroke('rgba(100%,0%,100%,0.5)');
703703
* strokeWeight(4);
704704
* rect(20, 20, 60, 60);
705-
* describe('60×60 white rect at center. Dark fuchsia outline.');
705+
* describe('White rect at center with dark fuchsia outline.');
706706
* </code>
707707
* </div>
708708
*
@@ -712,7 +712,7 @@ p5.prototype.noStroke = function() {
712712
* stroke(color(0, 0, 255));
713713
* strokeWeight(4);
714714
* rect(20, 20, 60, 60);
715-
* describe('60×60 white rect at center. Blue outline.');
715+
* describe('White rect at center with blue outline.');
716716
* </code>
717717
* </div>
718718
*/

0 commit comments

Comments
 (0)