Skip to content

modern-pdf-lib


modern-pdf-lib / curveToInitial

Function: curveToInitial()

curveToInitial(x2, y2, x3, y3): string

Defined in: src/core/operators/graphics.ts:78

Append a cubic Bezier curve where the first control point coincides with the current point (v).

Parameters

x2

number

y2

number

x3

number

y3

number

Returns

string

Released under the MIT License.