Class PathParser

java.lang.Object
com.android.ide.common.vectordrawable.PathParser

public class PathParser
extends java.lang.Object
Utility functions for parsing path information. The implementation details should be the same as the PathParser in Android framework.

See https://www.w3.org/TR/SVG/paths.html#PathDataBNF for the pathData syntax.

  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  PathParser.ParseMode  
  • Method Summary

    Modifier and Type Method Description
    static com.android.ide.common.vectordrawable.VdPath.Node[] parsePath​(java.lang.String value, PathParser.ParseMode mode)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • parsePath

      public static com.android.ide.common.vectordrawable.VdPath.Node[] parsePath​(java.lang.String value, PathParser.ParseMode mode)