File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -547,8 +547,8 @@ class Color {
547547 }
548548
549549 /**
550- * This function extracts the green value from a color object, returns green
551- * value in the range of 0 to 255 by default. When colorMode() is given to an
550+ * This function extracts the green value from a color object and
551+ * returns it in the range 0– 255 by default. When colorMode() is given to an
552552 * RBG value, the green value within the givin range is returned
553553 */
554554 _getGreen ( max = [ 0 , 1 ] ) {
@@ -633,7 +633,7 @@ class Color {
633633 /**
634634 * Brightness obtains the HSB brightness value from either a p5.Color object,
635635 * an array of color components, or a CSS color string.Depending on value,
636- * when colorMode() is set a HSB value , this function will return the
636+ * wwhen ` colorMode()` is set to HSB, this function will return the
637637 * brightness value in the range. By default, this function will return
638638 * the HSB brightness within the range 0 - 100.
639639 */
You can’t perform that action at this time.
0 commit comments