This shows you the differences between two versions of the page.
en:arc [2016/09/08 12:20] admin |
en:arc [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Arc (Statement) ===== | ||
- | |||
- | ==== Format ==== | ||
- | |||
- | **arc** [[numericexpressions|x_position]], | ||
- | **arc** ( [[numericexpressions|x_position]], | ||
- | **arc** [[numericexpressions|center_x_position]], | ||
- | **arc** ( [[numericexpressions|center_x_position]], | ||
- | |||
- | |||
- | ==== Description ==== | ||
- | |||
- | Draws an arc (part of a circle or ellipse) inside the rectangle defined by a bounding rectangle (defined by [[numericexpressions|x_position]], | ||
- | |||
- | Arc may also be used to draw an un-filled circle or an ellipse by defining the angular width to go all the way around (2*pi). | ||
- | |||
- | ==== Example ==== | ||
- | |||
- | < | ||
- | # arc_example.kbs | ||
- | # 2012-12-29 j.m.reneau | ||
- | # | ||
- | # example of arc statement added on 0.9.9.25 | ||
- | |||
- | clg | ||
- | color black | ||
- | for t = 1 to 100 step 3 | ||
- | arc 150-t, | ||
- | next t | ||
- | </ | ||
- | draws\\ | ||
- | {{: | ||
- | |||
- | |||
- | ==== See Also ==== | ||
- | {{page> | ||
- | |||
- | ==== History ==== | ||
- | |0.9.9.25|New To Version| | ||
- | |1.99.99.65|Added bounding square defined by circle| | ||