When using SVG export of Diagram for Java, gradient fills are not applied to shapes.
Attached is a zip containing a test Visio file (testshape.vsdx). The Visio SVG output is testshape-from-visio.svg and the output from Aspose Diagram is testshape-from-aspose.svg
Visio exports the gradient as a radialGradient element and then associates it with the path through a CSS selector. Aspose appears to ignore the gradient completely.
Would you please share sample code snippet which you are using at your side for conversion. We will test the scenario in our environment and address it accordingly.
However, the code snippet can not be compiled because of undeclared variable line. Therefore, please share SSCCE code and the fonts, if necessary for reproducing your scenario, so that we may proceed to help you. Before sharing requested data, please ensure using Aspose.Diagram for Java 19.8.
We have been able to notice the difference in our environment. A ticket with ID DIAGRAMJAVA-50664 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.