Draw a line from point to point
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 24
- Joined: Thu May 15, 2014 4:40 pm
Draw a line from point to point
Hello there, new to Livecode, think it's awesome, the dictionary, cross-platform, everything. My question is: How do I draw a line from point to point with given coordinates (runtime). I checked the dictionary and found "create", but I am not sure how to use it to write a line. Little help?
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
-
- Posts: 24
- Joined: Thu May 15, 2014 4:40 pm
Re: Draw a line from point to point
Exactly what I was searching for, thanks : ))
Re: Draw a line from point to point
You can also set the points of a line graphic to "pointA,pointB". Should be faster, and the line grc can be named, its properties set, and further managed should the need arise.
Craig Newman
Craig Newman
-
- Posts: 24
- Joined: Thu May 15, 2014 4:40 pm
Re: Draw a line from point to point
dunbarxs' way is interesting + it runs on Android also. If someone is interested, I recommend the way with the Vector Graphics (dunbarxs')