4 | | {% if icon.image %}{{ icon.varname }}.image = "{{ icon.image }}";{% endif %} |
5 | | {% if icon.shadow %}{{ icon.varname }}.shadow = "{{ icon.shadow }}";{% endif %} {% if icon.shadowsize %}{{ icon.varname }}.shadowSize = new GSize({{ icon.shadowsize.0 }}, {{ icon.shadowsize.1 }});{% endif %} |
6 | | {% if icon.iconanchor %}{{ icon.varname }}.iconAnchor = new GPoint({{ icon.iconanchor.0 }}, {{ icon.iconanchor.1 }});{% endif %} {% if icon.iconsize %}{{ icon.varname }}.iconSize = new GSize({{ icon.iconsize.0 }}, {{ icon.iconsize.1 }});{% endif %} |
7 | | {% if icon.infowindowanchor %}{{ icon.varname }}.infoWindowAnchor = new GPoint({{ icon.infowindowanchor.0 }}, {{ icon.infowindowanchor.1 }});{% endif %}{% endfor %} |
| 4 | {% if icon.image %}{{ icon.varname }}.image = "{{ icon.image }}"; |
| 5 | {% endif %}{% if icon.shadow %}{{ icon.varname }}.shadow = "{{ icon.shadow }}"; |
| 6 | {% endif %}{% if icon.shadowsize %}{{ icon.varname }}.shadowSize = new GSize({{ icon.shadowsize.0 }}, {{ icon.shadowsize.1 }}); |
| 7 | {% endif %}{% if icon.iconanchor %}{{ icon.varname }}.iconAnchor = new GPoint({{ icon.iconanchor.0 }}, {{ icon.iconanchor.1 }}); |
| 8 | {% endif %}{% if icon.iconsize %}{{ icon.varname }}.iconSize = new GSize({{ icon.iconsize.0 }}, {{ icon.iconsize.1 }}); |
| 9 | {% endif %}{% if icon.infowindowanchor %}{{ icon.varname }}.infoWindowAnchor = new GPoint({{ icon.infowindowanchor.0 }}, {{ icon.infowindowanchor.1 }}); |
| 10 | {% endif %}{% if icon.iconsize %}{{ icon.varname }}.iconSize = new GSize({{ icon.iconsize.0 }}, {{ icon.iconsize.1 }}); |
| 11 | {% endif %}{% ifnotequal icon.maxheight None %}{{ icon.varname }}.maxHeight = {{ icon.maxheight }}; |
| 12 | {% endifnotequal %}{% if icon.dragcrosssize %}{{ icon.varname }}.dragCrossSize = new GSize({{ icon.dragcrosssize.0 }}, {{ icon.dragcrosssize.1 }}); |
| 13 | {% endif %}{% endfor %} |