modern-pdf-lib / rectangleOp
Function: rectangleOp()
rectangleOp(
x,y,width,height):string
Defined in: src/core/operators/graphics.ts:33
Append a rectangle to the current path (re).
Parameters
x
number
Lower-left x coordinate.
y
number
Lower-left y coordinate.
width
number
Width of the rectangle.
height
number
Height of the rectangle.
Returns
string