Table of Contents

Method CreatePathData

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

CreatePathData(ReadOnlySpan<float>, ReadOnlySpan<SvgPathCommand>)

Creates a path data object which can be used to set a 'd' attribute on a 'path' element.

ISvgPathData CreatePathData(ReadOnlySpan<float> segmentData, ReadOnlySpan<SvgPathCommand> commands)

Parameters

segmentData ReadOnlySpan<float>

An array of segment data.

commands ReadOnlySpan<SvgPathCommand>

An array of path commands.

Returns

ISvgPathData