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  

loadFont()

   
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); 
Descrição   Loads a font into a variable of type PFont. To load correctly, fonts must be located in the data directory of the current sketch.
   
Sintaxe  
loadFont(fontname)
   
Parâmetros  
fontname   string: name of the font to load

   
Retorno   PFont
   
Utilização   Web & Applicações
   
Relacionado   PFont
textFont()
text()
 
 






   
 
Original em inglês atualizado em: Fri Jul 15 16:35:44 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