isuru
isuru

Reputation: 3565

How to extract path of each element from SVG?

I need to get path of each element from SVG and put them into ArrayList. There are lot of ways to create Drawable. But I need only path of each element on SVG.

Eg: <path d="M31,3h38l28,28v38l-28,28h-38l-28-28v-38z" fill="#a23"/>

How to do this?

Upvotes: 0

Views: 2463

Answers (1)

Brajesh Kanungo
Brajesh Kanungo

Reputation: 129

This stack overflow question may help you to get some understanding of svg path data reading easiest-way-to-read-in-svg-path-data-with-java

Upvotes: 1

Related Questions