happypdf / square
Function: square()
ts
function square(
xPos,
yPos,
size): PDFOperator;Defined in: src/api/operators.ts:181
Parameters
| Parameter | Type | Description |
|---|---|---|
xPos | number | x coordinate for the lower left corner of the square |
yPos | number | y coordinate for the lower left corner of the square |
size | number | width and height of the square |