Skip to main content

PathMarkupParser Class

Definition

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia

Parses a path markup string.

public class PathMarkupParser

Inheritance: object -> PathMarkupParser

Implements: IDisposable

Constructors

NameDescription
PathMarkupParserInitializes a new instance of the Avalonia.Media.PathMarkupParser class.

PathMarkupParser Constructor

Initializes a new instance of the Avalonia.Media.PathMarkupParser class.

public PathMarkupParser(Avalonia.Platform.IGeometryContext geometryContext)

Parameters

geometryContext Avalonia.Platform.IGeometryContext

The geometry context.

Exceptions

Methods

NameDescription
ParseParses the specified path data and writes the result to the geometryContext of this instance.

Parse Method

Parses the specified path data and writes the result to the geometryContext of this instance.

public void Parse(string pathData)

Parameters

pathData string

The path data.