Skip to content

modern-pdf-lib


modern-pdf-lib / moveToOp

Function: moveToOp()

moveToOp(x, y): string

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

Begin a new sub-path by moving the current point (m).

Parameters

x

number

Target x coordinate.

y

number

Target y coordinate.

Returns

string

Released under the MIT License.