@embedpdf/models 2.13.0 → 2.14.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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/pdf.d.ts +22 -1
- package/package.json +1 -1
package/dist/pdf.d.ts
CHANGED
|
@@ -1095,7 +1095,8 @@ export declare enum PDF_FORM_FIELD_TYPE {
|
|
|
1095
1095
|
export declare enum PdfAnnotationColorType {
|
|
1096
1096
|
Color = 0,
|
|
1097
1097
|
InteriorColor = 1,
|
|
1098
|
-
OverlayColor = 2
|
|
1098
|
+
OverlayColor = 2,
|
|
1099
|
+
TextColor = 3
|
|
1099
1100
|
}
|
|
1100
1101
|
/**
|
|
1101
1102
|
* Border style of pdf annotation
|
|
@@ -2006,6 +2007,26 @@ export interface PdfFreeTextAnnoObject extends PdfAnnotationObjectBase {
|
|
|
2006
2007
|
* Rectangle Differences (/RD) - inset padding from Rect to the drawn area.
|
|
2007
2008
|
*/
|
|
2008
2009
|
rectangleDifferences?: PdfRectDifferences;
|
|
2010
|
+
/**
|
|
2011
|
+
* Callout line points (PDF /CL array).
|
|
2012
|
+
* 2 points for a simple leader line, 3 points for a knee-jointed leader line.
|
|
2013
|
+
* Points are in device coordinates (same as rect/vertices).
|
|
2014
|
+
* Present only when intent is 'FreeTextCallout'.
|
|
2015
|
+
*/
|
|
2016
|
+
calloutLine?: Position[];
|
|
2017
|
+
/**
|
|
2018
|
+
* Line ending style for the callout leader line (PDF /LE).
|
|
2019
|
+
* Only meaningful when calloutLine is present.
|
|
2020
|
+
*/
|
|
2021
|
+
lineEnding?: PdfAnnotationLineEnding;
|
|
2022
|
+
/**
|
|
2023
|
+
* Border / callout line stroke width (from /BS -> W).
|
|
2024
|
+
*/
|
|
2025
|
+
strokeWidth?: number;
|
|
2026
|
+
/**
|
|
2027
|
+
* Border / callout line stroke color (from /DA rg color).
|
|
2028
|
+
*/
|
|
2029
|
+
strokeColor?: string;
|
|
2009
2030
|
}
|
|
2010
2031
|
/**
|
|
2011
2032
|
* Pdf redact annotation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embedpdf/models",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.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",
|