However, I cannot find any tutorial on how to use the range of graphic commands.
I searched the dictionary. No help there.
I have taken apart various examples to see how the graphics were implemented. After bypassing bugs when initialising, tracking back through functions and mysterious code, there seems to be no consistency or clarity about how things need to be done.
So far, I have boiled the requirement for a line down to this.
Code: Select all
on mouseup
create grc tLine
set the style of grc tLine to "line"
set the points of grc tline to 200,200, 300,300
end mouseup
The line and rectangle both have the name tLine in the properties.
Has anyone done a simple tutorial for the subject of graphic?