PathData Class

The geometry of a ScenePath: a list of commands, as in SVG.

public sealed class PathData

Properties

NameDescription
CommandsGets the commands of the path.
IsEmptyGets a value that indicates whether the path has no commands.

Commands

PathData.cs

Gets the commands of the path.

public IReadOnlyList<PathCommand> Commands { get; }

Gets a value that indicates whether the path has no commands.

public bool IsEmpty { get; }

Property value

bool

Methods

NameDescription
ToString()Returns the path as the value of the d attribute of an SVG path.

ToString()

PathData.cs

Returns the path as the value of the d attribute of an SVG path.

public override string ToString()

Returns

string The path data.