@EditableColor

Description

Mark color variables with this annotation in order to add them to Tinker panel. Using @EditableColor as (opposed to @Editable) creates a special control that allows you to manipulate the hue, saturation and brightness components of a color. @EditableColor cannot specify constraints and may only be used on colors (or integers).

As the Processing grammar does not yet recognize Annotations, this feature is only available to programmers using a separate IDE such as Eclipse.

Syntax
@EditableColor public int backgroundColor;
@EditableColor public int highlightColor;
Parameters
None
Returns
None
Usage
Web & Applications
Related
Last Modified: March 3, 2010

No Comments

You must be logged in to post a comment.