Handles the SVG path string data.
Static Public Member Functions | |
| static VectorPath | Load (string pathString) |
| Loads a vector path from an SVG path string. More... | |
| static VectorPath | Load (string pathString, VectorPath data) |
| Loads a vector path from an SVG path string into the given path. More... | |
| static void | Reflect (VectorPath path, out float cx, out float cy) |
| Used to generate the smooth curve control points. More... | |
| static void | AddCommand (VectorPath path, char command, float[] param, int currentLimit) |
| Adds the given parsed command into the given path. More... | |
Static Private Attributes | |
| static Dictionary< char, int > | ParamCounts |
| Maps an SVG path command to the number of parameters it has. More... | |
|
inlinestatic |
Adds the given parsed command into the given path.
|
inlinestatic |
Loads a vector path from an SVG path string.
|
inlinestatic |
Loads a vector path from an SVG path string into the given path.
|
inlinestatic |
Used to generate the smooth curve control points.
|
staticprivate |
Maps an SVG path command to the number of parameters it has.