com.larvalabs.svgandroid
Class SVGParser

java.lang.Object
  extended by com.larvalabs.svgandroid.SVGParser

public class SVGParser
extends Object

Author:
Larva Labs, LLC

Constructor Summary
SVGParser()
           
 
Method Summary
static android.graphics.Path parsePath(String pathString)
          Parses a single SVG path and returns it as a android.graphics.Path object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGParser

public SVGParser()
Method Detail

parsePath

public static android.graphics.Path parsePath(String pathString)
Parses a single SVG path and returns it as a android.graphics.Path object. An example path is M250,150L150,350L350,350Z, which draws a triangle.

Parameters:
pathString - the SVG path, see the specification here.


Copyright © 2012. All Rights Reserved.