Table of Contents

Method AddCubic

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Core.dll

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).

public static void AddCubic(this ISvgPathData svgPathData, SvgPathCommandSuffix suffix, float x1, float y1, float x2, float y2, float x, float y)

Parameters

svgPathData ISvgPathData
suffix SvgPathCommandSuffix
x1 float
y1 float
x2 float
y2 float
x float
y float