mouse()
mouse().xy
によって座標が得られます。key()
iskeydown(<int>)
keydownlist()
amsdata()
calibratedamsdata()
createtool(<string>,<int>,<int>)
createtool(<list>,<int>,<int>)
"Move"
, "Delete"
"Point"
, "Intersection"
, "Mid"
, "Center"
"Line"
, "Segment"
, "Line Through"
, "Parallel"
, "Orthogonal"
, "Angle Bisector"
"Circle"
, "Circle by Radius"
, "Compass"
, "Circle by 3"
, "Arc"
"Conic by 5"
, "Ellipse"
, "Hyperbola"
, "Parabola"
"Polar Point"
, "Polar Line"
, "Polygon"
, "Reflection"
, "Locus"
"Distance"
, "Angle"
, "Area"
"Mass"
, "Velocity"
, "Rubberband"
, "Spring"
, "Coulomb"
"Gravity"
, "Sun"
, "Floor"
, "Bouncer"
, "Magnet"
reference
を用いれば他の隅を指定できます。その修飾子は、 "UL", "UR", "LL", "LR"
です。初めの文字は、 upper/lower すなわち上下で、2番目の文字は left/rightすなわち左右を表します。createtool("Move",2,2);
createtool(["Move","Point","Line","Circle"],2,2);
createtool(["Move","Point","Line","Circle"],2,2,flipped->true);
createtool( [ ["Move","Point","Line","Circle"], ["Parallel","Orthogonal","Circle by Radius","Compass"], ["Distance","Angle","Area","Polygon"], ] ,2,2,flipped->false);
createtool( ...same as example above... ,reference->"LR");
Modifier | Parameter | Effect |
reference | <文字列> | 参照位置 |
flipped | <ブール値> | flipped→true 行と列を入替え
|
space | <整数> | ツールボタンの間隔。ピクセル数で |
removetool(<string>)
removetools()
Page last modified on Wednesday 17 of August, 2016 [05:52:28 UTC].
The original document is available at
http://doc.cinderella.de/tiki-index.php?page=User%20inputJ