Appearance
zeropdf / RectCommand
Interface: RectCommand
Defined in: src/types.ts:2967
Vector path command for adding a rectangle.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
height | number | Height in PDF points. | src/types.ts:2977 |
type | "rect" | Discriminator identifying this option or command shape. | src/types.ts:2969 |
width | number | Width in PDF points. | src/types.ts:2975 |
x | number | Horizontal position in PDF points. | src/types.ts:2971 |
y | number | Vertical position in PDF points. | src/types.ts:2973 |