Table of Contents

Class SvgPathDataExtensions

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Core.dll
public static class SvgPathDataExtensions
Inheritance
SvgPathDataExtensions
Inherited Members

Methods

AddArc(ISvgPathData, SvgPathCommandSuffix, float, float, float, bool, bool, float, float)

Draws an elliptical arc (rx ry x-axis-rotation large-arc-flag sweep-flag x y). The curve ends at (x, y) and is defined by the arc parameters.

AddClosePath(ISvgPathData)

Closes the current subpath.

AddCommandAndSegmentData(ISvgPathData, SvgPathCommand, ReadOnlySpan<float>)
AddCubic(ISvgPathData, SvgPathCommandSuffix, float, float, float, float, float, float)

Draws a cubic Bezier curve (x1 y1 x2 y2 x y). The curve ends at (x, y) and is defined by the two control points (x1, y1) and (x2, y2).

AddCubicSmooth(ISvgPathData, SvgPathCommandSuffix, float, float, float, float)

Draws a smooth cubic Bezier curve (x2 y2 x y). The curve ends at (x, y) and is defined by the control point (x2, y2).

AddHorizontal(ISvgPathData, SvgPathCommandSuffix, float)

Draws a horizontal line to the coordinate (x).

AddLine(ISvgPathData, SvgPathCommandSuffix, float, float)

Draws a line to the coordinate (x y).

AddMove(ISvgPathData, SvgPathCommandSuffix, float, float)

Starts a new subpath at the coordinate (x y).

AddQuadratic(ISvgPathData, SvgPathCommandSuffix, float, float, float, float)

Draws a quadratic Bezier curve (x1 y1 x y). The curve ends at (x, y) and is defined by the control point (x1 y1).

AddQuadraticSmooth(ISvgPathData, SvgPathCommandSuffix, float, float)

Draws a smooth quadratic Bezier curve ending at (x, y).

AddVertical(ISvgPathData, SvgPathCommandSuffix, float)

Draws a vertical line to the coordinate (y).