@cesdk/node 1.74.0-nightly.20260421 → 1.74.0-rc.1

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/index.d.ts CHANGED
@@ -7410,6 +7410,8 @@ export declare class EventAPI {
7410
7410
  * - 'exportPdfWithUnderlayer': Export the PDF document with an underlayer.
7411
7411
  * - 'underlayerSpotColorName': The name of the spot color to be used for the underlayer's fill.
7412
7412
  * - 'underlayerOffset': The adjustment in size of the shape of the underlayer.
7413
+ * - 'underlayerRenderRatio': Resolution multiplier for the underlayer contour extraction.
7414
+ * - 'underlayerMaxError': Curve-fit error tolerance for the underlayer contour.
7413
7415
  * - 'abortSignal': An abort signal that can be used to cancel the export.
7414
7416
  *
7415
7417
  * @public
@@ -7477,6 +7479,26 @@ export declare type ExportOptions = {
7477
7479
  * The adjustment in size of the shape of the underlayer.
7478
7480
  */
7479
7481
  underlayerOffset?: number;
7482
+ /**
7483
+ * Resolution multiplier for the raster pass that extracts the underlayer contour.
7484
+ * Higher values produce sharper underlayer outlines at the cost of memory and export time.
7485
+ * Useful for small text on large pages, where the 1.0 default can miss fine glyph details.
7486
+ * Values `<= 0` fall back to 1.0. `NaN` / `Infinity` are rejected at the binding boundary
7487
+ * with a `StructError`; pass a real number or leave the field undefined to use the default.
7488
+ *
7489
+ * @defaultValue 1.0
7490
+ */
7491
+ underlayerRenderRatio?: number;
7492
+ /**
7493
+ * Maximum acceptable curve-fit error, in pixels, when vectorising the underlayer contour.
7494
+ * Smaller values produce tighter fits at the cost of more path complexity.
7495
+ * Useful together with `underlayerRenderRatio` for small text on large pages.
7496
+ * Values `<= 0` fall back to 2.0. `NaN` / `Infinity` are rejected at the binding boundary
7497
+ * with a `StructError`; pass a real number or leave the field undefined to use the default.
7498
+ *
7499
+ * @defaultValue 2.0
7500
+ */
7501
+ underlayerMaxError?: number;
7480
7502
  /**
7481
7503
  * If true, the export will include text bounding boxes that account for glyph overhangs.
7482
7504
  * When enabled, text blocks with glyphs that extend beyond their frame (e.g., decorative fonts with swashes)
@@ -9445,6 +9467,8 @@ declare interface UBQExportOptions {
9445
9467
  exportPdfWithUnderlayer: boolean;
9446
9468
  underlayerSpotColorName: string;
9447
9469
  underlayerOffset: number;
9470
+ underlayerRenderRatio: number;
9471
+ underlayerMaxError: number;
9448
9472
  allowTextOverhang: boolean;
9449
9473
  exportPdfWithDeviceCMYK: boolean;
9450
9474
  }