11-21-2020, 10:24 AM
(11-21-2020, 09:57 AM)MatthewStephenson Wrote: Hi,
One thing to point out, is that we have several limitations on what SVG images can be used within Ludii.
Currently your SVG image is reflected in Ludii.
The best way to check if an SVG will display correctly in Ludii, is using the "View -> Load SVG" menu option.
The current restrictions on SVGs in Ludii are:
- Colour is not used (we fill the figure with player colour then draw black border).
- Figure border must be defined by a path fill (not a stroke).
- Can use multiple paths, but no other primitive shapes (no lines, not rectangles, no circles, ...)
- Can't use transforms (which is why your example image from yesterday is reflected).
- Groups are not respected (though do not necessarily draw badly).
Cheers,
Matthew
Thanks for the info. I am fairly new to SVG. I may have to research that a bit.