You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki-map/svg/hexes.svg

18 lines
861 B

1 year ago
<svg version="1.1" viewBox="-400 -250 500 500" xmlns="http://www.w3.org/2000/svg">
<defs>
<symbol id="myhex" width="100" height="100" viewbox="0 0 100 100">
<polygon points="0,50 25,0 75,0 100,50, 75,100 25,100" />
</symbol>
</defs>
<!-- <path d="M 0,0 H 500" stroke="black" stroke-width="1" /> -->
<!-- <path d="M 0,0 H -500" stroke="black" stroke-width="1" /> -->
<!-- <path d="M 0,0 V 500" stroke="black" stroke-width="1" /> -->
<!-- <path d="M 0,0 V -500" stroke="black" stroke-width="1" /> -->
<use href="#myhex" fill="green" x=" -50" y=" -50" />
<use href="#myhex" fill="red" x="-125" y="-100" />
<use href="#myhex" fill="blue" x="-125" y=" 0" />
<use href="#myhex" fill="purple" x="-200" y="-150" />
<use href="#myhex" fill="pink" x="-200" y=" -50" />
<use href="#myhex" fill="magenta" x="-200" y=" 50" />
</svg>