Skip to content

Commit 2da8344

Browse files
committed
fix missing example tag in documentation for color's toString method
1 parent 71b793f commit 2da8344

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/color/p5.Color.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ p5.Color = class Color {
379379
* 'rgb%' 'hsb%' 'hsl%' 'rgba%' 'hsba%' and 'hsla%' format as percentages.
380380
* @return {String} the formatted string.
381381
*
382+
* @example
382383
* <div>
383384
* <code>
384385
* function setup() {

0 commit comments

Comments
 (0)