Type + Code: Processing For Designers

Page 30

Type + Code page >L< even {6} page Yeohyun Ahn.

3.0

Viviana Cordova.

fill( ) Color This allows to one to specify the color of objects within the display window. The numeric values in the function of fill, here for example, fill(200,10,20);, define the RGB proportions, which stands for red, green and blue, the standardized screen color system, with which you are probably familiar.

PFont myFont;

TYPE

void setup() { size(200, 200); background(255,255,255); myFont = createFont("Univers", 32); textFont(myFont); fill(200,10,20); translate(55,90); text("TYPE"); }

http://processing.org/reference/fill_.html


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.