How to change alpha without changing the whole color?

Hello I was wondering how can I change the opacity of a color object without re writing the color back. Is this a possibility? Like color(255, 255, 255).alpha(100) or something similar?

Just a side question, how can you search for documentation in the Processing API here http://processing.github.io/processing-javadocs/core/? I want to search for Color class but have no luck :(.

Answers

Sign In or Register to comment.