Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
set
[the
] polySides to posInteger
where posInteger
is 0 or a number from 3 to 50. polySides
property returns or sets the number of sides of a polygon created by the Regular Polygon tool. Set polySides
to 0 to draw a circle. polySides
to a number lower than 3 (other than 0) or higher than 50, it automatically reverts to 3 or 50. on polySidesDemo
show bkgnd field "demo field"
setUpPaint
set dragspeed to 250
put "50,16,12,10,9,8,7,6,5,4,3" into theSides
repeat with itemNum = 1 to the number of items in theSides
set polysides to (item itemNum of theSides)
drag from "240,160" to "240,250"
end repeat
displayMessage "Click the mouse" & return & "to continue . . ."
set the cursor to arrow
wait until the mouseClick
domenu "revert"
hide bkgnd field "demo field"
choose browse tool
end polySidesDemo
on setUpPaint
show card picture
set lineSize to 1
choose regular polygon tool
set the pattern to 1
set centered to true
set filled to true
set grid to false
end setUpPaint
3
67 mod 13
the number of bg fields
the number of backgrounds
the number of cards div 2
See also: background, bkgnd, button, card, chunk,
field,
menu
, and menuItem
Properties
Version 0.7b1 (March 24, 2022)