-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update color references #6839
Update color references #6839
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. I left two minor comments.
@@ -787,8 +1277,10 @@ p5.prototype.noFill = function() { | |||
}; | |||
|
|||
/** | |||
* Disables drawing the stroke (outline). If both | |||
* <a href="#/p5/noStroke">noStroke()</a> and | |||
* Disables drawing points, lines, and the outlines of shapes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about a simplified version that's similar to the previous version, like 'Disables drawing the outlines of shapes"?
It seems like 'lines' might be a repeat of 'outline', and I'm not sure if we need mention 'points' here.
What do you think? @limzykenneth and @davepagurek
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the nice part about having lines and points is that it's maybe not immediately clear that those would be drawn with the stroke color rather than the fill color, since those aren't outlines of shapes. So this is maybe a helpful extra detail to include
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed with @davepagurek that the details would be helpful here.
* `stroke(255, 165, 0)` or `stroke('orange')` means all shapes drawn after | ||
* the `stroke()` command will be filled with the color orange. The way these | ||
* parameters are interpreted may be changed with the | ||
* Sets the color used to draw points, lines, and the outlines of shapes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. How about 'Sets the color used to draw the outlines of shapes'?
Not sure if we need 'points' and 'lines' here. @limzykenneth @davepagurek
Preparing references in
src/color/setting.js
for the new website.PR Checklist
npm run lint
passes@Qianqianye @davepagurek @limzykenneth