Open rensx opened 1 month ago
partially solved. Change MultiShapeObject to MathObjectGroup //emoji: 🥳🧁🍰🎁🎂🎈 SVG generated with pango-cairo
case "use": String base64content = defMap.get(el.getAttribute("xlink:href")); if (base64content.contains("data:image")) { JMImage img = new JMImage(base64content); img.scale(Point.at(0, 0), 300); //Unreasonable but works!? transfCopy.applyTransform(img); msh.add(img);
} else { ... } break;
MultiShapeObject is designed to handle only Shapes. The problem of importing images attached to a SVG object should be solved using a subclass of MUltiShape that allows images. I will look at it. Thanks!
MultiShapeObject class can handle Shape object only: ...private final ArrayList shapes...