This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ivac2:firdef_map_line [2014/04/19 22:21] filip.jonckers |
ivac2:firdef_map_line [2017/04/08 14:27] (current) |
||
---|---|---|---|
Line 7: | Line 7: | ||
^Element|line|| | ^Element|line|| | ||
^Attribute^Format^Remarks^ | ^Attribute^Format^Remarks^ | ||
- | |stipple|integer|stipple line bitwise pattern definition| | + | |pattern|double array|line pattern described in an array of doubles| |
|width|float|line width in pixels| | |width|float|line width in pixels| | ||
|color|string|color id name| | |color|string|color id name| | ||
Line 20: | Line 20: | ||
- | This drawing can be written as: | + | The drawing can be written as: |
<code XML> | <code XML> | ||
<line color="myPredefinedColor"> | <line color="myPredefinedColor"> | ||
- | <point x="" y="" /> | + | <point x="v0 x" y="v0 y" /> |
- | <point x="" y="" /> | + | <point x="v1 x" y="v1 y" /> |
- | <point x="" y="" /> | + | |
- | <point x="" y="" /> | + | <point x="v2 x" y="v2 y" /> |
+ | <point x="v3 x" y="v3 y" /> | ||
</line> | </line> | ||
</code> | </code> | ||
Line 36: | Line 37: | ||
===== Example ===== | ===== Example ===== | ||
- | The following code draws a square: | + | The following code draws a rectangle: |
<code XML> | <code XML> |