FAQ
 
 
Cover  \ Exhibition  \ Learning  \ Reference  \ Download  \ Discourse   
      Linguagem \ Ambiente \ Bibliotecas \ Comparação
 
   
   
Resumida (A-Z) \ Completa (A-Z)  
   
  Referência para Processing (BETA) version 91+. Se você tem uma versão anterior, utilize a documentação inclusa em seu software. Se você encontrar quaisquer erros ou tiver quaisquer comentários, leve ao nosso conhecimento.  
Nome  

textSize()

   
Exemplos  
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); 
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.
   
Sintaxe  
textSize(size)
   
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()
 
 






   
 
Original em inglês atualizado em: Fri Jul 15 16:36:15 PDT 2005
Tradução para o Português do Brasil: Luiz Ernesto Merkle
Atuallizada em: 30 de novembro de 2005, 9h00 (BRST)
 
 








Creative Commons License
 
  Processing é um projeto aberto iniciado por Ben Fry e Casey Reas  
  © Info