User Tools

Site Tools


en:chord

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:chord [2016/09/08 12:17]
admin
en:chord [2016/09/08 12:20]
admin
Line 4: Line 4:
  
 **chord** [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], [[numericexpressions|height]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]]\\ **chord** [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], [[numericexpressions|height]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]]\\
-**chord** ( [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], [[numericexpressions|height]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]] )+**chord** ( [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], [[numericexpressions|height]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]] )\\ 
 +**chord** [[numericexpressions|center_x_position]], [[numericexpressions|center_y_position]], [[numericexpressions|radius]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]]\\ 
 +**chord** ( [[numericexpressions|center_x_position]], [[numericexpressions|center_y_position]], [[numericexpressions|radius]], [[numericexpressions|start_angle]], [[numericexpressions|width_angle]] )
  
  
 ==== Description ==== ==== Description ====
  
-Draws an area bounded by an arc and chord (segment) of the circle or ellipse inside the bounding rectangle defined by [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], and [[numericexpressions|height]].  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 area bounded by an arc and chord (segment) of the circle or ellipse inside the 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. 
  
 As seen in the example below a chord may be used to draw a filled circle or an ellipse by defining the angular width to go all the way around (2*pi). As seen in the example below a chord may be used to draw a filled circle or an ellipse by defining the angular width to go all the way around (2*pi).
en/chord.txt · Last modified: 2020/02/28 10:46 (external edit)