Skip to content

modern-pdf-lib


modern-pdf-lib / ellipsePath

Function: ellipsePath()

ellipsePath(cx, cy, rx, ry): string

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

Produce the path operators for an approximate ellipse.

Parameters

cx

number

Centre x.

cy

number

Centre y.

rx

number

Horizontal radius.

ry

number

Vertical radius.

Returns

string

Released under the MIT License.