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
Next revision Both sides next revision
ivac2:firdef_map_circle [2011/12/22 22:10]
filip.jonckers
ivac2:firdef_map_circle [2015/06/11 16:25]
christophe.delondre
Line 1: Line 1:
-[[ivac2:​firdef_toc|Back]] 
- 
 ====== circle element ====== ====== circle element ======
  
 +^Root Element|map||
 ^Element|circle|| ^Element|circle||
 ^Attribute^Format^Remarks^ ^Attribute^Format^Remarks^
 |radius|float|radius of the circle in nautical miles| |radius|float|radius of the circle in nautical miles|
-|segments|integer|number of segments to draw| +|stroke_pattern|double array|line pattern ​described in an array of doubles
-|stipple|integer|stipple ​line bitwise ​pattern ​definition+|stroke_width|float|line width in pixels| 
-|width|float|line width in pixels| +|stroke_color|string|color id name| 
-|color|string|color id name| +|fill_color|string|color ​id name|
-|r|byte|color ​RGB value  (0-255)| +
-|g|byte|color RGB value  (0-255)| +
-|b|byte|color RGB value  (0-255)|+
  
-draw a circle with center position <​point>​ and given radius ​using the amount of segments.+draw a circle with center position <​point>​ and given radius.
  
 +===== Example =====
  
 +<code XML>
 +  <circle radius="​10">​
 +      <point lat="​N0511211970"​ lon="​E0025349610"/>​
 +  </​circle>​
 +</​code>​
  
-===== example ===== 
  
-  <circle radius="​10"​ segments="​45"​ r="​255"​ g="​0"​ b="​0">​ +----
-      <point lat="​N0511211970"​ lon="​E0025349610"/>​ +
-  </​circle>​+
  
 +[[ivac2:​firdef|Back]]