Skip to content

modern-pdf-lib


modern-pdf-lib / curveToFinal

Function: curveToFinal()

curveToFinal(x1, y1, x3, y3): string

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

Append a cubic Bezier curve where the second control point coincides with the final point (y).

Parameters

x1

number

y1

number

x3

number

y3

number

Returns

string

Released under the MIT License.