 |
|
BaselScript |
Beschreibung
Draw line
draw tile=line parameter...
Parameter:
x1 = x_start
y1 = y_start
x2 = x_finisch
y2 = y_finisch
name = name
image = image_name
color= wert
stroke_width= wert
transparent = (0-100)
Beispiel:
scene =1 name ="draw linie" bgcolor=#bbff99 mode=graphic
section init
clear canvas
#x1 = 400
#y1 = 200
#x2 = 700
#y2 = 200
draw tile = linie name=#l1 x1 = #x1 y1 = #y1 x2 = #x2 y2 = #y2 color=#ff0000 filling = 0 stroke_width= 50
#x1 = 400
#y1 = 500
#x2 = 700
#y2 = 100
draw tile = linie name=#l2 x1 = #x1 y1 = #y1 x2 = #x2 y2 = #y2 color=#0000ff filling = 1 stroke_width= 10
draw canvas
end section
end scene 1