Package com.larvalabs.svgandroid

Provides a mechanism to parse a limited version of SVG Basic 1.1 files in to android.graphics.Picture objects.

See:
          Description

Class Summary
ParserHelper Parses numbers from SVG text.
SVG Describes a vector Picture object, and optionally its bounds.
SVGParser Entry point for parsing SVG files for Android.
 

Exception Summary
SVGParseException Runtime exception thrown when there is a problem parsing an SVG.
 

Package com.larvalabs.svgandroid Description

Provides a mechanism to parse a limited version of SVG Basic 1.1 files in to android.graphics.Picture objects. This allows vector graphics files to be saved out of illustration software (such as Adobe Illustrator) as SVG Basic and then used directly in an Android app. The android.graphics.Picture is a very optimized and convenient vector graphics class. Performance is very good on a wide array of Android devices.

Note that only SVG features that can be directly converted in to Android graphics calls are supported. The following SVG Basic 1.1 features are not supported and will be ignored by the parser:

Even with the above features missing, users will find that most Illustrator drawings will render perfectly well on Android with this library. See the SVGParser class for instructions on how to use the parser.

See Also:
SVGParser