Is there an application to convert a svg drawing to Java’s Path2d?
Is this method more efficient than using any SVG to Java toolkit? (with efficiency i refer to runtime speed).
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you just want to convert SVG path syntax to an AWT path object, you can use Batik‘s
PathParserclass in conjunction with anAWTPathProducer. That will generate anExtendedGeneralPath, which isn’t aPath2Dbut it does implementShape.