processing-docs
processing-docs copied to clipboard
stroke() and other color setting methods don't mention color-datatype in reference at all
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
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.