processing-docs icon indicating copy to clipboard operation
processing-docs copied to clipboard

stroke() and other color setting methods don't mention color-datatype in reference at all

Open ghost opened this issue 9 years ago • 1 comments

Hi,

Stroke() and other color setting methods don't mention at all that you can use color-datatype to set the color, not just numbers. It's missing from syntax and examples. It was indicated in reference of color-datatype https://processing.org/reference/color_datatype.html

ghost avatar Mar 31 '16 11:03 ghost

I don't think we can correct this without a major intervention for the documentation build system. Technically, under the hood, the color datatype is an "int" and the Parameters in the documentation are automatically generated from the source code. I am leaving this open, but it's a ton of work to fix. Thanks for reporting.

REAS avatar May 05 '16 05:05 REAS