We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradients in a simple example do not work. The lines and fugures from this snippet do not show a gradient:
private String testingLines = "<svg xmlns=\"http://www.w3.org/2000/svg\"\n" + " xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n" + "\n" + " <defs>\n" + " <linearGradient id=\"myLinearGradient1\"\n" + " x1=\"0%\" y1=\"0%\"\n" + " x2=\"0%\" y2=\"100%\"\n" + " spreadMethod=\"pad\">\n" + " <stop offset=\"0%\" stop-color=\"#00cc00\" stop-opacity=\"1\"/>\n" + " <stop offset=\"100%\" stop-color=\"#006600\" stop-opacity=\"1\"/>\n" + " </linearGradient>\n" + " </defs>\n" + "\n" + " <rect x=\"10\" y=\"10\" width=\"75\" height=\"100\" rx=\"10\" ry=\"10\"\n" + " style=\"fill:url(#myLinearGradient1);\n" + " stroke: #005000;\n" + " stroke-width: 3;\" />\n" + "\n" + "</svg>";
The text was updated successfully, but these errors were encountered:
any have find solution regarding this?
Sorry, something went wrong.
No branches or pull requests
Gradients in a simple example do not work. The lines and fugures from this snippet do not show a gradient:
The text was updated successfully, but these errors were encountered: