Skip to content

textSize_

villares edited this page May 24, 2020 · 4 revisions

Nome

textSize()

Exemplos

```pde PFont font; // The font must be located in the sketch's // "data" directory to load successfully font = loadFont("FFScala-32.vlw"); textFont(font, 32); text("word", 15, 50); textSize(14); text("word", 15, 70);
<img height="25" src="../images/1pix.gif" width="1"/>

#### Descrição

	
Sets the current font size. This size will be used in all subsequent calls to the**text()** function. Font size is measured in units of pixels.
<img height="25" src="../images/1pix.gif" width="1"/>

#### Sintaxe
```pde
textSize(<font color="#996600">size</font>)

Parâmetros size int or float: the size of the letters in units of pixels

Retorno

Nenhum

Utilização

Web & Applicações

Relacionado

loadFont() PFont text() textFont()

Clone this wiki locally