Appearance
zeropdf / RectCommand
Interface: RectCommand
Defined in: src/types.ts:3003
Vector path command for adding a rectangle.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
height | number | Height in PDF points. | src/types.ts:3013 |
type | "rect" | Discriminator identifying this option or command shape. | src/types.ts:3005 |
width | number | Width in PDF points. | src/types.ts:3011 |
x | number | Horizontal position in PDF points. | src/types.ts:3007 |
y | number | Vertical position in PDF points. | src/types.ts:3009 |