User Tools

Site Tools


pt:textwidth

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pt:textwidth [2016/01/01 22:48]
pt:textwidth [2020/02/28 10:46] (current)
Line 1: Line 1:
 +===== TextWidth =====
 +==== Formato ====
 +textwidth ( //string// )
 +==== Descrição ====
 +Devolve o comprimento em pixeis de uma linha de texto produzida pela instrução [[text|Text]] .
  
 +==== Exemplo ====
 +<code>
 +font "arial",10,10
 +print textwidth ("ola")
 +font "arial",20,10
 +print textwidth ("ola")
 +font "arial",40,10
 +print textwidth ("ola")
 +</code>
 +mostra
 +<code>
 +17
 +36
 +69
 +</code>
 +
 +==== Ver também ====
 +[[font|Font]], [[text|Text]]
 +==== New To Version ==== 
 +0.9.6.68