Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

Alejandro Tejada capellan2000 at gmail.com
Fri Nov 25 01:19:15 CET 2016


Maybe this could be useful:

on mouseUp
   lock screen
   create grc
   set the style of it to polygon
   set the points of it to "3,0,0,10,10,10,7,0,3,0"
   -- a very small figure
   set the rect of it to "0,0,200,100"
   -- enlarge the figure
   set the loc of it to the screenloc
   -- position it in a place easy to find
   unlock screen
end mouseUp

Alejandro



More information about the use-livecode mailing list