| Language \ Environment \ Comparison |

| Index

| The Processing 1.0 _ALPHA_ Reference is a work in progress. If you see any errors or have any comments, please write to: reas at groupc.net

Name |  | ### text()
Examples |  |
    BFont metaBold;
    // The font "Meta-Bold.vlw.gz" must be located in the
    // current sketch's "data" directory to load successfully
    metaBold = loadFont("Meta-Bold.vlw.gz");
    textFont(metaBold, 44);
    text("word", 15, 50);
Description |  | Displays the information specified in the data parameter on the screen in the position specified in the x and y parameter. A font must be set with the textFont() function before text() may be called.
Syntax |  |
    text(data, x, y)
Parameters |  |
data |  | String, char, int, or float: the alphanumeric symbols to be displayed
x |  | int or float: x-coordinate of text
y |  | int or float: y-coordinate of text
Returns |  | None
Usage |  | Web & Application
Related |  | loadFont() BFont textFont()

| © 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea |
| Processing is an open project initiated by Ben Fry and Casey Reas |