Skip to content

PathGeometry.Parse method

Parses SVG path data into a frozen PathGeometry. A leading F0 sets FillRule to EvenOdd and F1 to NonZero, as in XAML path markup; without it the rule is NonZero. A string argument binds here via implicit conversion to ReadOnlySpan.

public static PathGeometry Parse(ReadOnlySpan<char> pathData)