@embedpdf/models 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/pdf.d.ts CHANGED
@@ -264,6 +264,14 @@ export declare enum PdfBlendMode {
264
264
  Color = 14,
265
265
  Luminosity = 15
266
266
  }
267
+ /**
268
+ * Stamp fit
269
+ */
270
+ export declare enum PdfStampFit {
271
+ Contain = 0,
272
+ Cover = 1,
273
+ Stretch = 2
274
+ }
267
275
  /**
268
276
  * Representation of the linked destination
269
277
  *
@@ -1441,6 +1449,14 @@ export type PdfStampAnnoObjectContents = Array<PdfPathObject | PdfImageObject |
1441
1449
  export interface PdfStampAnnoObject extends PdfAnnotationObjectBase {
1442
1450
  /** {@inheritDoc PdfAnnotationObjectBase.type} */
1443
1451
  type: PdfAnnotationSubtype.STAMP;
1452
+ /**
1453
+ * Icon of the stamp annotation
1454
+ */
1455
+ icon?: PdfAnnotationIcon;
1456
+ /**
1457
+ * Subject of the stamp annotation
1458
+ */
1459
+ subject?: string;
1444
1460
  }
1445
1461
  /**
1446
1462
  * Pdf circle annotation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embedpdf/models",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "private": false,
5
5
  "description": "Shared type definitions, data models, and utility helpers (geometry, tasks, logging, PDF primitives) that underpin every package in the EmbedPDF ecosystem.",
6
6
  "type": "module",