1using Microsoft.Maui.Controls.Shapes;
7 private static readonly PathGeometryConverter defaultPathGeometryConverter =
new();
9 public static PathGeometry ParseStringToPathGeometry(
string? PathString, FillRule? FillRule =
null)
11 if (defaultPathGeometryConverter.ConvertFrom(
null,
null, PathString) is PathGeometry Result)
13 if (FillRule is not
null)
14 Result.FillRule = (FillRule)FillRule;