User Tools

Site Tools


pt:font

Differences

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

Link to this comparison view

pt:font [2020/02/28 10:46] (current)
Line 1: Line 1:
 +===== Font =====
 +==== Formato ====
 +font //fontname//, //point//, //weight//
 +==== Descrição ====
 +Muda o tipo gráfico para o definido em //fontname// Tamanho é definido em pontos (1/72") Weight é um número de 1 a 100 que deternina a espessura das letras (mais negrito). Light=25, Normal=50, and Bold=75.
 +
 +==== Exemplo ====
 +<code>
 +color grey
 +rect 0,0,graphwidth,graphheight
 +color red
 +font "Times New Roman",18,50
 +text 10,100,"This is Times New Roman"
 +color darkgreen
 +font "Tahoma",28,100
 +text 10,200,"This is BOLD!"
 +</code>
 +Will draw.\\
 +{{:en:fonttext.png|}}
 +
 +==== Ver também ====
 +[[text|Text]], [[TextWidth|TextWidth]]
 +==== Introduzido ==== 
 +0.9.4
  
pt/font.txt · Last modified: 2020/02/28 10:46 (external edit)