 |
|
BaselScript |
Beschreibung
Draw polygon
draw tile=line .... Parameterliste
Parameter:
x1 = array von x_punkten
y1 = array von y_punkten
name = name
image = image_name
color = wert
filling = 0/1
stroke_width= wert
transparent = (0-100)
visible =0/1
Beispiel:
scene =1 name=polygon bgcolor=#bbff99 mode=graphic
section init
clear canvas
file name=example_polygon.csv record=(#xx,#yy) directory=#_directory_files_examples
read file=example_polygon.csv
draw tile=polygon name = #poly color=#ff0000 filling = 1 stroke_width= 6 x1=#xx_array y1=#yy_array
draw canvas
end section
end section
section back
call script = my_gr
end section
end scene 1