Resize poly by handles, fill poly with pattern, use StarPolygons
1 Start LC 8/9. 2 Download the
extension file (.lce) 3 Install the widget by selecting the lce file from menu
Tools/Download Manager and its button "+" at topright. 4 Quit and restart LC 8/9. 5 Download and open the
widget.polygon version 1.2.1 [-hh fecit 2018]
Instead of step 5 above you may also use
"go stack URL" from the LC message box.
Paste in LC's msg to load stack into RAM.
Main Features and Hints
The widget displays a N-sided polygon that may be filled with built-in patterns.
You can choose to use regular polygons or several star-polygons as starting point.
DoubleClick starts/stops edit mode of vertices (moves them).
RightClick a vertex to have a menu for deleting it or insert one further vertex.
RightClicking and dragging _inside_ the (opaque parts of the) polygon moves the shape.
The following messages are passed to LC Script so you can use it:
mouseEnter, mouseLeave, mouseUp.
After installation of the widget and restarting LiveCode find detailed help in the dictionary.