@qrcommunication/gigapdf-lib 0.123.1 → 0.124.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.d.cts CHANGED
@@ -1062,6 +1062,9 @@ interface GigaShape {
1062
1062
  stroke: [number, number, number] | null;
1063
1063
  stroke_width: number;
1064
1064
  dash: number[];
1065
+ /** Non-opaque paint opacity (`0..=1`). Omitted = opaque. */
1066
+ fill_alpha?: number;
1067
+ stroke_alpha?: number;
1065
1068
  /**
1066
1069
  * Full gradient fill (PPTX/ODP `gradFill`). Primes over the flat `fill`,
1067
1070
  * which keeps the first stop's colour as the fallback. Present since 0.117.0.
@@ -1073,6 +1076,8 @@ interface GigaShape {
1073
1076
  /** A free-floating text box holding a list of blocks (mirror of `model::TextBox`). */
1074
1077
  interface GigaTextBox {
1075
1078
  blocks: GigaBlock[];
1079
+ /** Fill/stroke/gradient/shadow of the text-box container. Omitted when unset. */
1080
+ paint?: GigaShape;
1076
1081
  }
1077
1082
  /** A typed spreadsheet cell (mirror of `model::SheetCell`). */
1078
1083
  interface GigaSheetCell {
package/dist/index.d.ts CHANGED
@@ -1062,6 +1062,9 @@ interface GigaShape {
1062
1062
  stroke: [number, number, number] | null;
1063
1063
  stroke_width: number;
1064
1064
  dash: number[];
1065
+ /** Non-opaque paint opacity (`0..=1`). Omitted = opaque. */
1066
+ fill_alpha?: number;
1067
+ stroke_alpha?: number;
1065
1068
  /**
1066
1069
  * Full gradient fill (PPTX/ODP `gradFill`). Primes over the flat `fill`,
1067
1070
  * which keeps the first stop's colour as the fallback. Present since 0.117.0.
@@ -1073,6 +1076,8 @@ interface GigaShape {
1073
1076
  /** A free-floating text box holding a list of blocks (mirror of `model::TextBox`). */
1074
1077
  interface GigaTextBox {
1075
1078
  blocks: GigaBlock[];
1079
+ /** Fill/stroke/gradient/shadow of the text-box container. Omitted when unset. */
1080
+ paint?: GigaShape;
1076
1081
  }
1077
1082
  /** A typed spreadsheet cell (mirror of `model::SheetCell`). */
1078
1083
  interface GigaSheetCell {