This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ivac2:firdef_map_arc [2016/04/05 15:57] jonathan.hougaard [Example] |
ivac2:firdef_map_arc [2017/06/12 21:17] (current) ian.beswick [Example] |
||
---|---|---|---|
Line 15: | Line 15: | ||
Use this element to draw an element with the shape of an arc. There are two methods available for building arcs : | Use this element to draw an element with the shape of an arc. There are two methods available for building arcs : | ||
- | Method 1 : Using center and start/end | + | <del>Method 1 : Using center and start/end |
Requires one <point> element to be the center of the arc. | Requires one <point> element to be the center of the arc. | ||
- | Requires start and end attributes to be set to the desired start and end angles of the arc (in degrees, range 0-360) | + | Requires start and end attributes to be set to the desired start and end angles of the arc (in degrees, range 0-360)</del> |
+ | //Method 1 has a known error, please do not use it until further notice.// | ||
===== Example ===== | ===== Example ===== | ||
+ | <del> | ||
<code XML> | <code XML> | ||
<arc radius="10" start="90" end="270" clockwise="false" stroke_color="black" width="2"> | <arc radius="10" start="90" end="270" clockwise="false" stroke_color="black" width="2"> | ||
Line 27: | Line 29: | ||
</arc> | </arc> | ||
</code> | </code> | ||
+ | </del> | ||
Method 2 : Using 3 points | Method 2 : Using 3 points |