Detailed Description

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...
 

Member Function Documentation

static void Svg.PathString.AddCommand ( VectorPath  path,
char  command,
float[]  param,
int  currentLimit 
)
inlinestatic

Adds the given parsed command into the given path.

static VectorPath Svg.PathString.Load ( string  pathString)
inlinestatic

Loads a vector path from an SVG path string.

static VectorPath Svg.PathString.Load ( string  pathString,
VectorPath  data 
)
inlinestatic

Loads a vector path from an SVG path string into the given path.

static void Svg.PathString.Reflect ( VectorPath  path,
out float  cx,
out float  cy 
)
inlinestatic

Used to generate the smooth curve control points.

Member Data Documentation

Dictionary<char,int> Svg.PathString.ParamCounts
staticprivate

Maps an SVG path command to the number of parameters it has.