◐ Shell
clean mode source ↗

Make color, fill, stroke et al. thread-safe: #3077 by GKFX · Pull Request #4774 · processing/processing

@benfry That's fine; I'd like to replace the floats fillR etc with a final float[] fillColor that can be passed to calcColor, which would also return the color as an int in 0xAARRGGBB form, so that the color() functions would not need to pass the float[] array. Should I delete fillR etc., tag them depreciated but keep filling them, or leave them alone entirely? The same applies to stroke and others.
In other words I don't know whether third party code is expected to use protected methods/variables or whether it's okay to change them like this.