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  

textLeading()

   
Exemplos  
PFont font; 
// The font must be located in the sketch's 
// "data" directory to load successfully 
font = loadFont("EurekaMonoCond-Bold-14.vlw"); 
// Text to display. The "\n" is a "new line" character 
String lines = "LIN1\nLIN2\nLIN3"; 
textFont(font, 14); 
textLeading(10); 
text(lines, 5, 25); 
fill(126);  // Set value to gray 
textLeading(20); 
text(lines, 36, 25); 
fill(0);    // Set value to black 
textLeading(30); 
text(lines, 68, 25); 
Descrição   Sets the spacing between lines of text in units of pixels. This setting will be used in all subsequent calls to the text() function.
   
Sintaxe  
textLeading(dist)
   
Parâmetros  
dist   int or float: the size in pixels for spacing between lines

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






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