Bug 290 : g.strokeColor and g.fillColor need to be (explicitly) documented
Last modified: 2006-09-27 14:06



Assigned To:

Attachment Type Created Size Actions

Description:   Opened: 2006-02-13 10:41
"a search on the board will tell you that g.strokeColor and g.fillColor
will give you the previous colors."

I don't mean to step on toes here, but if a feature needs to be searched
out on the message board in order to discover it, then it needs to have its
own documentation in the reference.

Correct me if I am wrong, but as far as I can tell, there is no
easily-found reference for useful constants like this in the processing
reference, besides PI, TWO_PI, and HALF_PI.
Additional Comment #1 From REAS 2006-09-25 14:29
We have two references for the project. We have an easy-to-read "basic"
reference for beginners to programming and then we have a JavaDoc style
reference to augment the basic reference for professional programmers. It's
often is difficult decision to decide what should be in the basic
reference, but we decided to only include the constants PI, TWO_PI, and
HALF_PI and to not include g.strokeColor and g.fillColor.

The JavaDoc is here:

One idea, a compromise of sorts, would be to make a link to the JavaDoc
from the basic reference pages on the site.
Additional Comment #2 From REAS 2006-09-27 14:06
I've made a link to the JavaDoc (Developers Reference) from the website. It
will go online at the next update.