 |
|
BaselScript |
Beschreibung
Draw text
draw tile=text .... Parameterliste
Parameter:
tile= text
x1 = x_start
y1 = y_start
name = Name
text = Wert
transparent = (0-100)
color= Wert
size = Wert
Beispiel:
scene =1 name="Draw Text" mode=graphic
section init
clear canvas
draw tile=text name=text2 x1=230 y1=250 color=#ff0055 size=45 text="style is italic" style=italic
draw tile=text name=text3 x1=230 y1=350 color=#220099 size=45 text="style is bold" weight=bold
draw tile=text name=text4 x1=230 y1=450 color=#885599 size=45 text="style is bold and italic" weight=bold style=italic
draw tile=text name=text5 x1=230 y1=550 color=#225599 size=45 text="style is normal"
draw tile=text name=text6 x1=10 y1=650 color=magenta size=65 text="hello"
draw canvas
end section
section back
call script= 05_00_draw_graphic
end section
end scene