Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect
Sannyasin Brahmanathaswami
brahma at hindu.org
Thu Nov 24 22:30:02 EST 2016
Thanks every one for all the great answers/ideas.
That said,
@Mark… docs may need clarification
1) create 'regular polygon graphic" with 4 sides
2) name it "trapezoid"
3) make button "set the editMode of grc "trapezoid" to polygon
result: nothing happens at all, no change, no option to add or "touch" any points. So perhaps "edit mode of graphics" needs to be "editMode of graphics with style set to "Polygon"
and not "regular"
@Alejandro: Awesome simple little script!
BR
On 11/24/16, 10:01 AM, "use-livecode on behalf of Mark Waddingham" <use-livecode-bounces at lists.runrev.com on behalf of mark at livecode.com> wrote:
Check out the editMode property of graphic objects.
Warmest regards,
Mark.
More information about the use-livecode
mailing list