Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
en:arc [2016/09/08 12:17] admin [History] |
en:arc [2016/09/08 12:19] admin |
| |
**arc** [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], [[numericexpressions|height]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]]\\ | **arc** [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], [[numericexpressions|height]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]]\\ |
**arc** ( [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], [[numericexpressions|height]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]] ) | **arc** ( [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], [[numericexpressions|height]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]] )\\ |
| **arc** [[numericexpressions|center_x_position]], [[numericexpressions|center_y_position]], [[numericexpressions|radius]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]]\\ |
| **arc** ( [[numericexpressions|center_x_position]], [[numericexpressions|center_y_position]], [[numericexpressions|radius]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]] ) |
| |
| |
==== Description ==== | ==== Description ==== |
| |
Draws an arc (part of a circle or ellipse) inside the bounding rectangle defined by [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], and [[numericexpressions|height]] on the screen or the printer. The center of the circle/ellipse will be in the center of the rectangle. The angles are defined from the 12 o'clock position in a clockwise direction in radians. | Draws an arc (part of a circle or ellipse) inside the bounding rectangle defined by a bounding rectangle (defined by [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], and [[numericexpressions|height]]) or by a square bounding a circle (defined by [[numericexpressions|center_x_position]], [[numericexpressions|center_y_position]], [[numericexpressions|radius]]). The angles are defined from the 12 o'clock position in a clockwise direction in radians. |
| |
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). | 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). |