I'm looking for conversion between path markup and Geometry. I found a good post showing how to get the Geometry from path markup:
Path Markup Syntax to Geometry
string pathMarkup = "M 100,200 C 100,25 400,350 400,175 H 280";
Geometry myGeometry = Geometry.Parse(pathMarkup);
Geometry to Path Markup Syntax
Now what if I want to get the path markup from the existing geometry?
Geometry myGeometry = //some geometry
string pathMarkup = ??
Any idea how to convert a geometry to its equivalent path markup?