Skip to main content Link Menu Expand (external link) Document Search Copy Copied

void draw()

Draws the button.

Example

brain Brain;
Button button(brain, 0, 0, 100, 50, color(255, 0, 0), color(200, 0, 0), "Click me!", 30, 20);

//... later in the code
button.draw();