PathBuilder.BuildPath(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builds a path from a string definition.
public:
Microsoft::Maui::Graphics::PathF ^ BuildPath(System::String ^ pathAsString);
public Microsoft.Maui.Graphics.PathF BuildPath(string pathAsString);
member this.BuildPath : string -> Microsoft.Maui.Graphics.PathF
Public Function BuildPath (pathAsString As String) As PathF
Parameters
- pathAsString
- String
The string definition of the path using SVG-like path commands.
Returns
A PathF object representing the defined path.
Exceptions
Thrown when there's an error parsing the path commands.