@cesdk/node 1.77.0-nightly.20260611 → 1.77.0-rc.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/assets/core/{cesdk-v1.77.0-nightly.20260611-3NH6TTBS.wasm → cesdk-v1.77.0-rc.0-HHH6ENYK.wasm} +0 -0
- package/index.d.mts +151 -3
- package/index.d.ts +151 -3
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.77.0-nightly.20260611-MLEZSZ4D.data → cesdk-v1.77.0-rc.0-MLEZSZ4D.data} +0 -0
|
Binary file
|
package/index.d.mts
CHANGED
|
@@ -5195,6 +5195,56 @@ export declare class BlockAPI {
|
|
|
5195
5195
|
* @returns The effective alignment ('Left', 'Right', or 'Center').
|
|
5196
5196
|
*/
|
|
5197
5197
|
getTextEffectiveHorizontalAlignment(id: DesignBlockId): 'Left' | 'Right' | 'Center';
|
|
5198
|
+
/**
|
|
5199
|
+
* Sets the SVG path that the text baseline follows.
|
|
5200
|
+
* Pass `null` to restore normal straight-line text layout.
|
|
5201
|
+
*
|
|
5202
|
+
* @category Block Text
|
|
5203
|
+
* @param id - The text block to modify.
|
|
5204
|
+
* @param svgPath - An SVG path string in the block's local coordinate space, or `null` to clear.
|
|
5205
|
+
*/
|
|
5206
|
+
setTextOnPath(id: DesignBlockId, svgPath: string | null): void;
|
|
5207
|
+
/**
|
|
5208
|
+
* Gets the SVG path currently used as the text baseline.
|
|
5209
|
+
*
|
|
5210
|
+
* @category Block Text
|
|
5211
|
+
* @param id - The text block to query.
|
|
5212
|
+
* @returns The SVG path string, or `null` if no path is set.
|
|
5213
|
+
*/
|
|
5214
|
+
getTextOnPath(id: DesignBlockId): string | null;
|
|
5215
|
+
/**
|
|
5216
|
+
* Sets the start offset along the baseline path as a proportion of the path length.
|
|
5217
|
+
* Values are clamped to `[-1, 1]`; `1` and `-1` wrap back to the path start.
|
|
5218
|
+
*
|
|
5219
|
+
* @category Block Text
|
|
5220
|
+
* @param id - The text block to modify.
|
|
5221
|
+
* @param offset - The proportional offset. Positive values move the text forward along the path.
|
|
5222
|
+
*/
|
|
5223
|
+
setTextOnPathOffset(id: DesignBlockId, offset: number): void;
|
|
5224
|
+
/**
|
|
5225
|
+
* Gets the start offset along the baseline path as a proportion of the path length.
|
|
5226
|
+
*
|
|
5227
|
+
* @category Block Text
|
|
5228
|
+
* @param id - The text block to query.
|
|
5229
|
+
* @returns The proportional offset in `[-1, 1]`.
|
|
5230
|
+
*/
|
|
5231
|
+
getTextOnPathOffset(id: DesignBlockId): number;
|
|
5232
|
+
/**
|
|
5233
|
+
* Sets whether text is placed on the opposite side of the baseline path.
|
|
5234
|
+
*
|
|
5235
|
+
* @category Block Text
|
|
5236
|
+
* @param id - The text block to modify.
|
|
5237
|
+
* @param flipped - When `true`, text sits on the underside of the curve and reads in the reverse direction.
|
|
5238
|
+
*/
|
|
5239
|
+
setTextOnPathFlipped(id: DesignBlockId, flipped: boolean): void;
|
|
5240
|
+
/**
|
|
5241
|
+
* Gets whether the text-on-path rendering is flipped.
|
|
5242
|
+
*
|
|
5243
|
+
* @category Block Text
|
|
5244
|
+
* @param id - The text block to query.
|
|
5245
|
+
* @returns `true` when text is on the underside of the curve.
|
|
5246
|
+
*/
|
|
5247
|
+
getTextOnPathFlipped(id: DesignBlockId): boolean;
|
|
5198
5248
|
/**
|
|
5199
5249
|
* Checks if a block has fill properties.
|
|
5200
5250
|
*
|
|
@@ -6344,7 +6394,7 @@ export declare type BlurTypeShorthand = (typeof BLUR_TYPES)[number];
|
|
|
6344
6394
|
export declare type BooleanOperation = 'Difference' | 'Intersection' | 'Union' | 'XOR';
|
|
6345
6395
|
|
|
6346
6396
|
/** @public */
|
|
6347
|
-
export declare type BoolPropertyName = 'alwaysOnBottom' | 'alwaysOnTop' | 'clipped' | 'flip/horizontal' | 'flip/vertical' | 'highlightEnabled' | 'includedInExport' | 'placeholder/enabled' | 'playback/playing' | 'playback/soloPlaybackEnabled' | 'scene/aspectRatioLock' | 'scene/extendedPanningArea' | 'selected' | 'selectionEnabled' | 'transformLocked' | 'visible' | 'blur/enabled' | 'dropShadow/clip' | 'dropShadow/enabled' | 'fill/enabled' | 'fill/overprint' | 'page/guides/gridEnabled' | 'page/guides/gridSnapEnabled' | 'page/marginEnabled' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'playback/looping' | 'playback/muted' | 'stroke/enabled' | 'stroke/overprint' | 'backgroundColor/enabled' | 'placeholderBehavior/enabled' | 'text/automaticFontSizeEnabled' | 'text/clipLinesOutsideOfFrame' | 'text/hasClippedLines' | 'text/useContextualLigatures' | 'text/useDiscretionaryLigatures' | 'text/useKerning' | 'text/useLigatures' | 'track/automaticallyManageBlockOffsets' | 'caption/automaticFontSizeEnabled' | 'caption/clipLinesOutsideOfFrame' | 'caption/hasClippedLines' | 'caption/useContextualLigatures' | 'caption/useDiscretionaryLigatures' | 'caption/useKerning' | 'caption/useLigatures' | 'captionTrack/automaticallyManageBlockOffsets' | 'animation/slide/fade' | 'animation/pan/fade' | 'animation/blur/fade' | 'animation/zoom/fade' | 'animation/crop_zoom/fade' | 'animation/spin/fade' | 'animation/block_swipe_text/useTextColor' | 'animation/spread_text/fade' | 'animation/ken_burns/fade' | 'effect/enabled' | (string & {});
|
|
6397
|
+
export declare type BoolPropertyName = 'alwaysOnBottom' | 'alwaysOnTop' | 'clipped' | 'flip/horizontal' | 'flip/vertical' | 'highlightEnabled' | 'includedInExport' | 'placeholder/enabled' | 'playback/playing' | 'playback/soloPlaybackEnabled' | 'scene/aspectRatioLock' | 'scene/extendedPanningArea' | 'selected' | 'selectionEnabled' | 'transformLocked' | 'visible' | 'blur/enabled' | 'dropShadow/clip' | 'dropShadow/enabled' | 'fill/enabled' | 'fill/overprint' | 'page/guides/gridEnabled' | 'page/guides/gridSnapEnabled' | 'page/marginEnabled' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'playback/looping' | 'playback/muted' | 'stroke/enabled' | 'stroke/overprint' | 'backgroundColor/enabled' | 'placeholderBehavior/enabled' | 'text/automaticFontSizeEnabled' | 'text/clipLinesOutsideOfFrame' | 'text/hasClippedLines' | 'text/pathFlipped' | 'text/useContextualLigatures' | 'text/useDiscretionaryLigatures' | 'text/useKerning' | 'text/useLigatures' | 'track/automaticallyManageBlockOffsets' | 'caption/automaticFontSizeEnabled' | 'caption/clipLinesOutsideOfFrame' | 'caption/hasClippedLines' | 'caption/pathFlipped' | 'caption/useContextualLigatures' | 'caption/useDiscretionaryLigatures' | 'caption/useKerning' | 'caption/useLigatures' | 'captionTrack/automaticallyManageBlockOffsets' | 'animation/slide/fade' | 'animation/pan/fade' | 'animation/blur/fade' | 'animation/zoom/fade' | 'animation/crop_zoom/fade' | 'animation/spin/fade' | 'animation/block_swipe_text/useTextColor' | 'animation/spread_text/fade' | 'animation/ken_burns/fade' | 'effect/enabled' | (string & {});
|
|
6348
6398
|
|
|
6349
6399
|
/**
|
|
6350
6400
|
* Represents a buffer of data.
|
|
@@ -6634,6 +6684,12 @@ declare class CreativeEngine {
|
|
|
6634
6684
|
event: EventAPI;
|
|
6635
6685
|
scene: SceneAPI;
|
|
6636
6686
|
variable: VariableAPI;
|
|
6687
|
+
/**
|
|
6688
|
+
* Register, run, and discover named, overridable actions. On headless Node the registry
|
|
6689
|
+
* starts with only the engine-default `ly.img.*` actions (no host UI), but the API is
|
|
6690
|
+
* identical to the browser engine.
|
|
6691
|
+
*/
|
|
6692
|
+
actions: EngineActions;
|
|
6637
6693
|
version: string;
|
|
6638
6694
|
|
|
6639
6695
|
/**
|
|
@@ -8049,6 +8105,97 @@ export declare type EffectTypeLonghand = `//ly.img.ubq/effect/${EffectTypeShorth
|
|
|
8049
8105
|
/** @public */
|
|
8050
8106
|
export declare type EffectTypeShorthand = (typeof EFFECT_TYPES)[number];
|
|
8051
8107
|
|
|
8108
|
+
/** @public Known action ids from {@link EngineActionsRegistry}. */
|
|
8109
|
+
export declare type EngineActionId = keyof EngineActionsRegistry & string;
|
|
8110
|
+
|
|
8111
|
+
/** @public Info about a registered action, from {@link EngineActions.list}. */
|
|
8112
|
+
export declare interface EngineActionInfo {
|
|
8113
|
+
/** The action id, e.g. `nudge`. */
|
|
8114
|
+
id: string;
|
|
8115
|
+
/** Whether the action currently says it can run. */
|
|
8116
|
+
enabled: boolean;
|
|
8117
|
+
/** Optional JSON description of the arguments it accepts. */
|
|
8118
|
+
argSchema: string | null;
|
|
8119
|
+
}
|
|
8120
|
+
|
|
8121
|
+
/**
|
|
8122
|
+
* @public Named, overridable actions for one engine. Actions are either JS
|
|
8123
|
+
* closures you register or engine defaults (e.g. undo/redo), and
|
|
8124
|
+
* either kind can override the other by reusing the id.
|
|
8125
|
+
*
|
|
8126
|
+
* JS-registered actions run directly in JS, so on the web you get full fidelity:
|
|
8127
|
+
* {@link get} hands back the raw function and {@link run} passes args/results by
|
|
8128
|
+
* reference (non-serializable payloads like File/Blob work). The engine also keeps
|
|
8129
|
+
* a JSON trampoline per action so defaults run natively and host actions stay
|
|
8130
|
+
* reachable across the FFI — that path is JSON-only and async. Engine defaults you
|
|
8131
|
+
* have not overridden are reachable only via {@link run}; {@link get} returns undefined.
|
|
8132
|
+
*
|
|
8133
|
+
* @remarks Main-thread only. {@link get} is web-only; use run/has/list cross-platform.
|
|
8134
|
+
*/
|
|
8135
|
+
export declare class EngineActions {
|
|
8136
|
+
#private;
|
|
8137
|
+
|
|
8138
|
+
/**
|
|
8139
|
+
* Register an action, replacing any existing one with the same id.
|
|
8140
|
+
*
|
|
8141
|
+
* @param id - The action id (e.g. `undo`). Reusing an engine default's id overrides it.
|
|
8142
|
+
* @param fn - The action body (sync or async). On the web it runs directly with
|
|
8143
|
+
* any JS values. Across the FFI args/results are JSON, so only serializable
|
|
8144
|
+
* payloads work there.
|
|
8145
|
+
*/
|
|
8146
|
+
register<K extends EngineActionId>(id: K, fn: EngineActionsRegistry[K] extends (...args: any[]) => any ? EngineActionsRegistry[K] : EngineCustomActionFunction): void;
|
|
8147
|
+
register(id: string, fn: EngineCustomActionFunction): void;
|
|
8148
|
+
/**
|
|
8149
|
+
* Get the raw registered function for an id so you can call it synchronously.
|
|
8150
|
+
*
|
|
8151
|
+
* Returns the exact function you registered. Returns `undefined` for unknown ids
|
|
8152
|
+
* and engine-default native actions (which have no JS function) — use {@link run}
|
|
8153
|
+
* for those.
|
|
8154
|
+
*
|
|
8155
|
+
* @remarks Web-only.
|
|
8156
|
+
*/
|
|
8157
|
+
get<K extends EngineActionId>(id: K): EngineActionsRegistry[K] | undefined;
|
|
8158
|
+
get(id: string): EngineCustomActionFunction | undefined;
|
|
8159
|
+
/**
|
|
8160
|
+
* Run an action by id and return its result as a Promise.
|
|
8161
|
+
*
|
|
8162
|
+
* JS-registered actions are called directly (args/result by reference). Engine
|
|
8163
|
+
* defaults go across the FFI (JSON args/result).
|
|
8164
|
+
*
|
|
8165
|
+
* @param id - The action id.
|
|
8166
|
+
* @param args - Arguments forwarded to the action.
|
|
8167
|
+
* @returns The action's result, or a rejection if the id is unknown or it threw.
|
|
8168
|
+
*/
|
|
8169
|
+
run<K extends EngineActionId>(id: K, ...args: EngineActionsRegistry[K] extends (...args: infer A) => any ? A : unknown[]): Promise<EngineActionsRegistry[K] extends (...args: any[]) => infer R ? Awaited<R> : unknown>;
|
|
8170
|
+
run<R = unknown>(id: string, ...args: unknown[]): Promise<R>;
|
|
8171
|
+
/** Whether an action with this id is registered (host or engine default). */
|
|
8172
|
+
has(id: string): boolean;
|
|
8173
|
+
/**
|
|
8174
|
+
* Remove a host action, or revert an overridden engine default to its built-in.
|
|
8175
|
+
*
|
|
8176
|
+
* If you override an engine default (such as `select` or `undo`), unregistering the id restores
|
|
8177
|
+
* the default rather than leaving it unhandled. A custom id you registered yourself is removed
|
|
8178
|
+
* entirely. Returns `false` only when the id is unknown.
|
|
8179
|
+
*/
|
|
8180
|
+
unregister(id: string): boolean;
|
|
8181
|
+
/** List registered actions, optionally filtered by a `*` glob matcher on the id. */
|
|
8182
|
+
list(options?: {
|
|
8183
|
+
matcher?: string;
|
|
8184
|
+
}): EngineActionInfo[];
|
|
8185
|
+
|
|
8186
|
+
}
|
|
8187
|
+
|
|
8188
|
+
/**
|
|
8189
|
+
* @public Hook for hosts to add strongly-typed action ids. Augment via
|
|
8190
|
+
* `declare module '@cesdk/engine'` to get autocomplete on register/run while
|
|
8191
|
+
* still allowing custom string ids.
|
|
8192
|
+
*/
|
|
8193
|
+
export declare interface EngineActionsRegistry {
|
|
8194
|
+
}
|
|
8195
|
+
|
|
8196
|
+
/** @public A generic, untyped action function for custom ids. */
|
|
8197
|
+
export declare type EngineCustomActionFunction = (...args: any[]) => unknown;
|
|
8198
|
+
|
|
8052
8199
|
/**
|
|
8053
8200
|
* Represents an engine plugin.
|
|
8054
8201
|
*
|
|
@@ -8308,7 +8455,7 @@ declare interface Flip {
|
|
|
8308
8455
|
}
|
|
8309
8456
|
|
|
8310
8457
|
/** @public */
|
|
8311
|
-
export declare type FloatPropertyName = 'globalBoundingBox/height' | 'globalBoundingBox/width' | 'globalBoundingBox/x' | 'globalBoundingBox/y' | 'height' | 'lastFrame/height' | 'lastFrame/width' | 'lastFrame/x' | 'lastFrame/y' | 'movement/constraint' | 'position/x' | 'position/y' | 'rotation' | 'scene/dpi' | 'scene/pageDimensions/height' | 'scene/pageDimensions/width' | 'scene/pixelScaleFactor' | 'width' | 'camera/pixelRatio' | 'camera/resolution/height' | 'camera/resolution/width' | 'camera/zoomLevel' | 'dropShadow/blurRadius/x' | 'dropShadow/blurRadius/y' | 'dropShadow/offset/x' | 'dropShadow/offset/y' | 'page/guides/gridSpacingX' | 'page/guides/gridSpacingY' | 'page/margin/bottom' | 'page/margin/left' | 'page/margin/right' | 'page/margin/top' | 'page/marginScale' | 'playback/speed' | 'playback/volume' | 'stroke/dashOffset' | 'stroke/width' | 'opacity' | 'backgroundColor/cornerRadius' | 'backgroundColor/paddingBottom' | 'backgroundColor/paddingLeft' | 'backgroundColor/paddingRight' | 'backgroundColor/paddingTop' | 'text/fontSize' | 'text/letterSpacing' | 'text/lineHeight' | 'text/maxAutomaticFontSize' | 'text/minAutomaticFontSize' | 'text/paragraphSpacing' | 'cutout/offset' | 'cutout/smoothing' | 'caption/fontSize' | 'caption/letterSpacing' | 'caption/lineHeight' | 'caption/maxAutomaticFontSize' | 'caption/minAutomaticFontSize' | 'caption/paragraphSpacing' | 'animation/slide/direction' | 'textAnimationOverlap' | 'animation/pan/direction' | 'animation/pan/distance' | 'animation/blur/intensity' | 'animation/grow/scaleFactor' | 'animation/crop_zoom/scale' | 'animation/spin/intensity' | 'animation/blur_loop/intensity' | 'animation/pulsating_loop/intensity' | 'animation/breathing_loop/intensity' | 'animation/jump_loop/intensity' | 'animation/sway_loop/intensity' | 'animation/spread_text/intensity' | 'animation/merge_text/intensity' | 'animation/ken_burns/travelDistanceRatio' | 'animation/ken_burns/zoomIntensity' | 'blur/uniform/intensity' | 'blur/linear/blurRadius' | 'blur/linear/x1' | 'blur/linear/x2' | 'blur/linear/y1' | 'blur/linear/y2' | 'blur/mirrored/blurRadius' | 'blur/mirrored/gradientSize' | 'blur/mirrored/size' | 'blur/mirrored/x1' | 'blur/mirrored/x2' | 'blur/mirrored/y1' | 'blur/mirrored/y2' | 'blur/radial/blurRadius' | 'blur/radial/gradientRadius' | 'blur/radial/radius' | 'blur/radial/x' | 'blur/radial/y' | 'effect/adjustments/blacks' | 'effect/adjustments/brightness' | 'effect/adjustments/clarity' | 'effect/adjustments/contrast' | 'effect/adjustments/exposure' | 'effect/adjustments/gamma' | 'effect/adjustments/highlights' | 'effect/adjustments/saturation' | 'effect/adjustments/shadows' | 'effect/adjustments/sharpness' | 'effect/adjustments/temperature' | 'effect/adjustments/whites' | 'effect/cross_cut/offset' | 'effect/cross_cut/slices' | 'effect/cross_cut/speedV' | 'effect/cross_cut/time' | 'effect/dot_pattern/blur' | 'effect/dot_pattern/dots' | 'effect/dot_pattern/size' | 'effect/duotone_filter/intensity' | 'effect/extrude_blur/amount' | 'effect/glow/amount' | 'effect/glow/darkness' | 'effect/glow/size' | 'effect/green_screen/colorMatch' | 'effect/green_screen/smoothness' | 'effect/green_screen/spill' | 'effect/half_tone/angle' | 'effect/half_tone/scale' | 'effect/linocut/scale' | 'effect/liquid/amount' | 'effect/liquid/scale' | 'effect/liquid/time' | 'effect/lut_filter/intensity' | 'effect/outliner/amount' | 'effect/outliner/passthrough' | 'effect/posterize/levels' | 'effect/radial_pixel/radius' | 'effect/radial_pixel/segments' | 'effect/recolor/brightnessMatch' | 'effect/recolor/colorMatch' | 'effect/recolor/smoothness' | 'effect/shifter/amount' | 'effect/shifter/angle' | 'effect/tilt_shift/amount' | 'effect/tilt_shift/position' | 'effect/tv_glitch/distortion' | 'effect/tv_glitch/distortion2' | 'effect/tv_glitch/rollSpeed' | 'effect/tv_glitch/speed' | 'effect/vignette/darkness' | 'effect/vignette/offset' | 'fill/gradient/linear/endPointX' | 'fill/gradient/linear/endPointY' | 'fill/gradient/linear/startPointX' | 'fill/gradient/linear/startPointY' | 'fill/gradient/radial/centerPointX' | 'fill/gradient/radial/centerPointY' | 'fill/gradient/radial/radius' | 'fill/gradient/conical/centerPointX' | 'fill/gradient/conical/centerPointY' | 'shape/rect/cornerRadiusBL' | 'shape/rect/cornerRadiusBR' | 'shape/rect/cornerRadiusTL' | 'shape/rect/cornerRadiusTR' | 'shape/polygon/cornerRadius' | 'shape/star/cornerRadius' | 'shape/star/innerDiameter' | 'shape/vector_path/cornerRadius' | 'shape/vector_path/height' | 'shape/vector_path/width' | (string & {});
|
|
8458
|
+
export declare type FloatPropertyName = 'globalBoundingBox/height' | 'globalBoundingBox/width' | 'globalBoundingBox/x' | 'globalBoundingBox/y' | 'height' | 'lastFrame/height' | 'lastFrame/width' | 'lastFrame/x' | 'lastFrame/y' | 'movement/constraint' | 'position/x' | 'position/y' | 'rotation' | 'scene/dpi' | 'scene/pageDimensions/height' | 'scene/pageDimensions/width' | 'scene/pixelScaleFactor' | 'width' | 'camera/pixelRatio' | 'camera/resolution/height' | 'camera/resolution/width' | 'camera/zoomLevel' | 'dropShadow/blurRadius/x' | 'dropShadow/blurRadius/y' | 'dropShadow/offset/x' | 'dropShadow/offset/y' | 'page/guides/gridSpacingX' | 'page/guides/gridSpacingY' | 'page/margin/bottom' | 'page/margin/left' | 'page/margin/right' | 'page/margin/top' | 'page/marginScale' | 'playback/speed' | 'playback/volume' | 'stroke/dashOffset' | 'stroke/width' | 'opacity' | 'backgroundColor/cornerRadius' | 'backgroundColor/paddingBottom' | 'backgroundColor/paddingLeft' | 'backgroundColor/paddingRight' | 'backgroundColor/paddingTop' | 'text/fontSize' | 'text/letterSpacing' | 'text/lineHeight' | 'text/maxAutomaticFontSize' | 'text/minAutomaticFontSize' | 'text/paragraphSpacing' | 'text/pathOffset' | 'cutout/offset' | 'cutout/smoothing' | 'caption/fontSize' | 'caption/letterSpacing' | 'caption/lineHeight' | 'caption/maxAutomaticFontSize' | 'caption/minAutomaticFontSize' | 'caption/paragraphSpacing' | 'caption/pathOffset' | 'animation/slide/direction' | 'textAnimationOverlap' | 'animation/pan/direction' | 'animation/pan/distance' | 'animation/blur/intensity' | 'animation/grow/scaleFactor' | 'animation/crop_zoom/scale' | 'animation/spin/intensity' | 'animation/blur_loop/intensity' | 'animation/pulsating_loop/intensity' | 'animation/breathing_loop/intensity' | 'animation/jump_loop/intensity' | 'animation/sway_loop/intensity' | 'animation/spread_text/intensity' | 'animation/merge_text/intensity' | 'animation/ken_burns/travelDistanceRatio' | 'animation/ken_burns/zoomIntensity' | 'blur/uniform/intensity' | 'blur/linear/blurRadius' | 'blur/linear/x1' | 'blur/linear/x2' | 'blur/linear/y1' | 'blur/linear/y2' | 'blur/mirrored/blurRadius' | 'blur/mirrored/gradientSize' | 'blur/mirrored/size' | 'blur/mirrored/x1' | 'blur/mirrored/x2' | 'blur/mirrored/y1' | 'blur/mirrored/y2' | 'blur/radial/blurRadius' | 'blur/radial/gradientRadius' | 'blur/radial/radius' | 'blur/radial/x' | 'blur/radial/y' | 'effect/adjustments/blacks' | 'effect/adjustments/brightness' | 'effect/adjustments/clarity' | 'effect/adjustments/contrast' | 'effect/adjustments/exposure' | 'effect/adjustments/gamma' | 'effect/adjustments/highlights' | 'effect/adjustments/saturation' | 'effect/adjustments/shadows' | 'effect/adjustments/sharpness' | 'effect/adjustments/temperature' | 'effect/adjustments/whites' | 'effect/cross_cut/offset' | 'effect/cross_cut/slices' | 'effect/cross_cut/speedV' | 'effect/cross_cut/time' | 'effect/dot_pattern/blur' | 'effect/dot_pattern/dots' | 'effect/dot_pattern/size' | 'effect/duotone_filter/intensity' | 'effect/extrude_blur/amount' | 'effect/glow/amount' | 'effect/glow/darkness' | 'effect/glow/size' | 'effect/green_screen/colorMatch' | 'effect/green_screen/smoothness' | 'effect/green_screen/spill' | 'effect/half_tone/angle' | 'effect/half_tone/scale' | 'effect/linocut/scale' | 'effect/liquid/amount' | 'effect/liquid/scale' | 'effect/liquid/time' | 'effect/lut_filter/intensity' | 'effect/outliner/amount' | 'effect/outliner/passthrough' | 'effect/posterize/levels' | 'effect/radial_pixel/radius' | 'effect/radial_pixel/segments' | 'effect/recolor/brightnessMatch' | 'effect/recolor/colorMatch' | 'effect/recolor/smoothness' | 'effect/shifter/amount' | 'effect/shifter/angle' | 'effect/tilt_shift/amount' | 'effect/tilt_shift/position' | 'effect/tv_glitch/distortion' | 'effect/tv_glitch/distortion2' | 'effect/tv_glitch/rollSpeed' | 'effect/tv_glitch/speed' | 'effect/vignette/darkness' | 'effect/vignette/offset' | 'fill/gradient/linear/endPointX' | 'fill/gradient/linear/endPointY' | 'fill/gradient/linear/startPointX' | 'fill/gradient/linear/startPointY' | 'fill/gradient/radial/centerPointX' | 'fill/gradient/radial/centerPointY' | 'fill/gradient/radial/radius' | 'fill/gradient/conical/centerPointX' | 'fill/gradient/conical/centerPointY' | 'shape/rect/cornerRadiusBL' | 'shape/rect/cornerRadiusBR' | 'shape/rect/cornerRadiusTL' | 'shape/rect/cornerRadiusTR' | 'shape/polygon/cornerRadius' | 'shape/star/cornerRadius' | 'shape/star/innerDiameter' | 'shape/vector_path/cornerRadius' | 'shape/vector_path/height' | 'shape/vector_path/width' | (string & {});
|
|
8312
8459
|
|
|
8313
8460
|
/**
|
|
8314
8461
|
* Individual font within a typeface. Field optionality matches `@cesdk/engine`
|
|
@@ -9832,6 +9979,7 @@ export declare interface Settings {
|
|
|
9832
9979
|
|
|
9833
9980
|
|
|
9834
9981
|
|
|
9982
|
+
|
|
9835
9983
|
|
|
9836
9984
|
|
|
9837
9985
|
}
|
|
@@ -10032,7 +10180,7 @@ export declare interface SpotColor {
|
|
|
10032
10180
|
}
|
|
10033
10181
|
|
|
10034
10182
|
/** @public */
|
|
10035
|
-
export declare type StringPropertyName = 'name' | 'scene/pageFormatId' | 'type' | 'uuid' | 'page/titleTemplate' | 'audio/fileURI' | 'text/externalReference' | 'text/fontFileUri' | 'text/text' | 'text/typeface' | 'cutout/path' | 'caption/externalReference' | 'caption/fontFileUri' | 'caption/text' | 'caption/typeface' | 'effect/lut_filter/filterId' | 'effect/lut_filter/lutFileURI' | 'fill/image/externalReference' | 'fill/image/imageFileURI' | 'fill/image/previewFileURI' | 'fill/video/fileURI' | 'shape/vector_path/path' | (string & {});
|
|
10183
|
+
export declare type StringPropertyName = 'name' | 'scene/pageFormatId' | 'type' | 'uuid' | 'page/titleTemplate' | 'audio/fileURI' | 'text/externalReference' | 'text/fontFileUri' | 'text/pathExternalRef' | 'text/text' | 'text/typeface' | 'cutout/path' | 'caption/externalReference' | 'caption/fontFileUri' | 'caption/pathExternalRef' | 'caption/text' | 'caption/typeface' | 'effect/lut_filter/filterId' | 'effect/lut_filter/lutFileURI' | 'fill/image/externalReference' | 'fill/image/imageFileURI' | 'fill/image/previewFileURI' | 'fill/video/fileURI' | 'shape/vector_path/path' | (string & {});
|
|
10036
10184
|
|
|
10037
10185
|
/** @public */
|
|
10038
10186
|
export declare type StrokeCap = (typeof StrokeCapValues)[number];
|
package/index.d.ts
CHANGED
|
@@ -5195,6 +5195,56 @@ export declare class BlockAPI {
|
|
|
5195
5195
|
* @returns The effective alignment ('Left', 'Right', or 'Center').
|
|
5196
5196
|
*/
|
|
5197
5197
|
getTextEffectiveHorizontalAlignment(id: DesignBlockId): 'Left' | 'Right' | 'Center';
|
|
5198
|
+
/**
|
|
5199
|
+
* Sets the SVG path that the text baseline follows.
|
|
5200
|
+
* Pass `null` to restore normal straight-line text layout.
|
|
5201
|
+
*
|
|
5202
|
+
* @category Block Text
|
|
5203
|
+
* @param id - The text block to modify.
|
|
5204
|
+
* @param svgPath - An SVG path string in the block's local coordinate space, or `null` to clear.
|
|
5205
|
+
*/
|
|
5206
|
+
setTextOnPath(id: DesignBlockId, svgPath: string | null): void;
|
|
5207
|
+
/**
|
|
5208
|
+
* Gets the SVG path currently used as the text baseline.
|
|
5209
|
+
*
|
|
5210
|
+
* @category Block Text
|
|
5211
|
+
* @param id - The text block to query.
|
|
5212
|
+
* @returns The SVG path string, or `null` if no path is set.
|
|
5213
|
+
*/
|
|
5214
|
+
getTextOnPath(id: DesignBlockId): string | null;
|
|
5215
|
+
/**
|
|
5216
|
+
* Sets the start offset along the baseline path as a proportion of the path length.
|
|
5217
|
+
* Values are clamped to `[-1, 1]`; `1` and `-1` wrap back to the path start.
|
|
5218
|
+
*
|
|
5219
|
+
* @category Block Text
|
|
5220
|
+
* @param id - The text block to modify.
|
|
5221
|
+
* @param offset - The proportional offset. Positive values move the text forward along the path.
|
|
5222
|
+
*/
|
|
5223
|
+
setTextOnPathOffset(id: DesignBlockId, offset: number): void;
|
|
5224
|
+
/**
|
|
5225
|
+
* Gets the start offset along the baseline path as a proportion of the path length.
|
|
5226
|
+
*
|
|
5227
|
+
* @category Block Text
|
|
5228
|
+
* @param id - The text block to query.
|
|
5229
|
+
* @returns The proportional offset in `[-1, 1]`.
|
|
5230
|
+
*/
|
|
5231
|
+
getTextOnPathOffset(id: DesignBlockId): number;
|
|
5232
|
+
/**
|
|
5233
|
+
* Sets whether text is placed on the opposite side of the baseline path.
|
|
5234
|
+
*
|
|
5235
|
+
* @category Block Text
|
|
5236
|
+
* @param id - The text block to modify.
|
|
5237
|
+
* @param flipped - When `true`, text sits on the underside of the curve and reads in the reverse direction.
|
|
5238
|
+
*/
|
|
5239
|
+
setTextOnPathFlipped(id: DesignBlockId, flipped: boolean): void;
|
|
5240
|
+
/**
|
|
5241
|
+
* Gets whether the text-on-path rendering is flipped.
|
|
5242
|
+
*
|
|
5243
|
+
* @category Block Text
|
|
5244
|
+
* @param id - The text block to query.
|
|
5245
|
+
* @returns `true` when text is on the underside of the curve.
|
|
5246
|
+
*/
|
|
5247
|
+
getTextOnPathFlipped(id: DesignBlockId): boolean;
|
|
5198
5248
|
/**
|
|
5199
5249
|
* Checks if a block has fill properties.
|
|
5200
5250
|
*
|
|
@@ -6344,7 +6394,7 @@ export declare type BlurTypeShorthand = (typeof BLUR_TYPES)[number];
|
|
|
6344
6394
|
export declare type BooleanOperation = 'Difference' | 'Intersection' | 'Union' | 'XOR';
|
|
6345
6395
|
|
|
6346
6396
|
/** @public */
|
|
6347
|
-
export declare type BoolPropertyName = 'alwaysOnBottom' | 'alwaysOnTop' | 'clipped' | 'flip/horizontal' | 'flip/vertical' | 'highlightEnabled' | 'includedInExport' | 'placeholder/enabled' | 'playback/playing' | 'playback/soloPlaybackEnabled' | 'scene/aspectRatioLock' | 'scene/extendedPanningArea' | 'selected' | 'selectionEnabled' | 'transformLocked' | 'visible' | 'blur/enabled' | 'dropShadow/clip' | 'dropShadow/enabled' | 'fill/enabled' | 'fill/overprint' | 'page/guides/gridEnabled' | 'page/guides/gridSnapEnabled' | 'page/marginEnabled' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'playback/looping' | 'playback/muted' | 'stroke/enabled' | 'stroke/overprint' | 'backgroundColor/enabled' | 'placeholderBehavior/enabled' | 'text/automaticFontSizeEnabled' | 'text/clipLinesOutsideOfFrame' | 'text/hasClippedLines' | 'text/useContextualLigatures' | 'text/useDiscretionaryLigatures' | 'text/useKerning' | 'text/useLigatures' | 'track/automaticallyManageBlockOffsets' | 'caption/automaticFontSizeEnabled' | 'caption/clipLinesOutsideOfFrame' | 'caption/hasClippedLines' | 'caption/useContextualLigatures' | 'caption/useDiscretionaryLigatures' | 'caption/useKerning' | 'caption/useLigatures' | 'captionTrack/automaticallyManageBlockOffsets' | 'animation/slide/fade' | 'animation/pan/fade' | 'animation/blur/fade' | 'animation/zoom/fade' | 'animation/crop_zoom/fade' | 'animation/spin/fade' | 'animation/block_swipe_text/useTextColor' | 'animation/spread_text/fade' | 'animation/ken_burns/fade' | 'effect/enabled' | (string & {});
|
|
6397
|
+
export declare type BoolPropertyName = 'alwaysOnBottom' | 'alwaysOnTop' | 'clipped' | 'flip/horizontal' | 'flip/vertical' | 'highlightEnabled' | 'includedInExport' | 'placeholder/enabled' | 'playback/playing' | 'playback/soloPlaybackEnabled' | 'scene/aspectRatioLock' | 'scene/extendedPanningArea' | 'selected' | 'selectionEnabled' | 'transformLocked' | 'visible' | 'blur/enabled' | 'dropShadow/clip' | 'dropShadow/enabled' | 'fill/enabled' | 'fill/overprint' | 'page/guides/gridEnabled' | 'page/guides/gridSnapEnabled' | 'page/marginEnabled' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'playback/looping' | 'playback/muted' | 'stroke/enabled' | 'stroke/overprint' | 'backgroundColor/enabled' | 'placeholderBehavior/enabled' | 'text/automaticFontSizeEnabled' | 'text/clipLinesOutsideOfFrame' | 'text/hasClippedLines' | 'text/pathFlipped' | 'text/useContextualLigatures' | 'text/useDiscretionaryLigatures' | 'text/useKerning' | 'text/useLigatures' | 'track/automaticallyManageBlockOffsets' | 'caption/automaticFontSizeEnabled' | 'caption/clipLinesOutsideOfFrame' | 'caption/hasClippedLines' | 'caption/pathFlipped' | 'caption/useContextualLigatures' | 'caption/useDiscretionaryLigatures' | 'caption/useKerning' | 'caption/useLigatures' | 'captionTrack/automaticallyManageBlockOffsets' | 'animation/slide/fade' | 'animation/pan/fade' | 'animation/blur/fade' | 'animation/zoom/fade' | 'animation/crop_zoom/fade' | 'animation/spin/fade' | 'animation/block_swipe_text/useTextColor' | 'animation/spread_text/fade' | 'animation/ken_burns/fade' | 'effect/enabled' | (string & {});
|
|
6348
6398
|
|
|
6349
6399
|
/**
|
|
6350
6400
|
* Represents a buffer of data.
|
|
@@ -6634,6 +6684,12 @@ declare class CreativeEngine {
|
|
|
6634
6684
|
event: EventAPI;
|
|
6635
6685
|
scene: SceneAPI;
|
|
6636
6686
|
variable: VariableAPI;
|
|
6687
|
+
/**
|
|
6688
|
+
* Register, run, and discover named, overridable actions. On headless Node the registry
|
|
6689
|
+
* starts with only the engine-default `ly.img.*` actions (no host UI), but the API is
|
|
6690
|
+
* identical to the browser engine.
|
|
6691
|
+
*/
|
|
6692
|
+
actions: EngineActions;
|
|
6637
6693
|
version: string;
|
|
6638
6694
|
|
|
6639
6695
|
/**
|
|
@@ -8049,6 +8105,97 @@ export declare type EffectTypeLonghand = `//ly.img.ubq/effect/${EffectTypeShorth
|
|
|
8049
8105
|
/** @public */
|
|
8050
8106
|
export declare type EffectTypeShorthand = (typeof EFFECT_TYPES)[number];
|
|
8051
8107
|
|
|
8108
|
+
/** @public Known action ids from {@link EngineActionsRegistry}. */
|
|
8109
|
+
export declare type EngineActionId = keyof EngineActionsRegistry & string;
|
|
8110
|
+
|
|
8111
|
+
/** @public Info about a registered action, from {@link EngineActions.list}. */
|
|
8112
|
+
export declare interface EngineActionInfo {
|
|
8113
|
+
/** The action id, e.g. `nudge`. */
|
|
8114
|
+
id: string;
|
|
8115
|
+
/** Whether the action currently says it can run. */
|
|
8116
|
+
enabled: boolean;
|
|
8117
|
+
/** Optional JSON description of the arguments it accepts. */
|
|
8118
|
+
argSchema: string | null;
|
|
8119
|
+
}
|
|
8120
|
+
|
|
8121
|
+
/**
|
|
8122
|
+
* @public Named, overridable actions for one engine. Actions are either JS
|
|
8123
|
+
* closures you register or engine defaults (e.g. undo/redo), and
|
|
8124
|
+
* either kind can override the other by reusing the id.
|
|
8125
|
+
*
|
|
8126
|
+
* JS-registered actions run directly in JS, so on the web you get full fidelity:
|
|
8127
|
+
* {@link get} hands back the raw function and {@link run} passes args/results by
|
|
8128
|
+
* reference (non-serializable payloads like File/Blob work). The engine also keeps
|
|
8129
|
+
* a JSON trampoline per action so defaults run natively and host actions stay
|
|
8130
|
+
* reachable across the FFI — that path is JSON-only and async. Engine defaults you
|
|
8131
|
+
* have not overridden are reachable only via {@link run}; {@link get} returns undefined.
|
|
8132
|
+
*
|
|
8133
|
+
* @remarks Main-thread only. {@link get} is web-only; use run/has/list cross-platform.
|
|
8134
|
+
*/
|
|
8135
|
+
export declare class EngineActions {
|
|
8136
|
+
#private;
|
|
8137
|
+
|
|
8138
|
+
/**
|
|
8139
|
+
* Register an action, replacing any existing one with the same id.
|
|
8140
|
+
*
|
|
8141
|
+
* @param id - The action id (e.g. `undo`). Reusing an engine default's id overrides it.
|
|
8142
|
+
* @param fn - The action body (sync or async). On the web it runs directly with
|
|
8143
|
+
* any JS values. Across the FFI args/results are JSON, so only serializable
|
|
8144
|
+
* payloads work there.
|
|
8145
|
+
*/
|
|
8146
|
+
register<K extends EngineActionId>(id: K, fn: EngineActionsRegistry[K] extends (...args: any[]) => any ? EngineActionsRegistry[K] : EngineCustomActionFunction): void;
|
|
8147
|
+
register(id: string, fn: EngineCustomActionFunction): void;
|
|
8148
|
+
/**
|
|
8149
|
+
* Get the raw registered function for an id so you can call it synchronously.
|
|
8150
|
+
*
|
|
8151
|
+
* Returns the exact function you registered. Returns `undefined` for unknown ids
|
|
8152
|
+
* and engine-default native actions (which have no JS function) — use {@link run}
|
|
8153
|
+
* for those.
|
|
8154
|
+
*
|
|
8155
|
+
* @remarks Web-only.
|
|
8156
|
+
*/
|
|
8157
|
+
get<K extends EngineActionId>(id: K): EngineActionsRegistry[K] | undefined;
|
|
8158
|
+
get(id: string): EngineCustomActionFunction | undefined;
|
|
8159
|
+
/**
|
|
8160
|
+
* Run an action by id and return its result as a Promise.
|
|
8161
|
+
*
|
|
8162
|
+
* JS-registered actions are called directly (args/result by reference). Engine
|
|
8163
|
+
* defaults go across the FFI (JSON args/result).
|
|
8164
|
+
*
|
|
8165
|
+
* @param id - The action id.
|
|
8166
|
+
* @param args - Arguments forwarded to the action.
|
|
8167
|
+
* @returns The action's result, or a rejection if the id is unknown or it threw.
|
|
8168
|
+
*/
|
|
8169
|
+
run<K extends EngineActionId>(id: K, ...args: EngineActionsRegistry[K] extends (...args: infer A) => any ? A : unknown[]): Promise<EngineActionsRegistry[K] extends (...args: any[]) => infer R ? Awaited<R> : unknown>;
|
|
8170
|
+
run<R = unknown>(id: string, ...args: unknown[]): Promise<R>;
|
|
8171
|
+
/** Whether an action with this id is registered (host or engine default). */
|
|
8172
|
+
has(id: string): boolean;
|
|
8173
|
+
/**
|
|
8174
|
+
* Remove a host action, or revert an overridden engine default to its built-in.
|
|
8175
|
+
*
|
|
8176
|
+
* If you override an engine default (such as `select` or `undo`), unregistering the id restores
|
|
8177
|
+
* the default rather than leaving it unhandled. A custom id you registered yourself is removed
|
|
8178
|
+
* entirely. Returns `false` only when the id is unknown.
|
|
8179
|
+
*/
|
|
8180
|
+
unregister(id: string): boolean;
|
|
8181
|
+
/** List registered actions, optionally filtered by a `*` glob matcher on the id. */
|
|
8182
|
+
list(options?: {
|
|
8183
|
+
matcher?: string;
|
|
8184
|
+
}): EngineActionInfo[];
|
|
8185
|
+
|
|
8186
|
+
}
|
|
8187
|
+
|
|
8188
|
+
/**
|
|
8189
|
+
* @public Hook for hosts to add strongly-typed action ids. Augment via
|
|
8190
|
+
* `declare module '@cesdk/engine'` to get autocomplete on register/run while
|
|
8191
|
+
* still allowing custom string ids.
|
|
8192
|
+
*/
|
|
8193
|
+
export declare interface EngineActionsRegistry {
|
|
8194
|
+
}
|
|
8195
|
+
|
|
8196
|
+
/** @public A generic, untyped action function for custom ids. */
|
|
8197
|
+
export declare type EngineCustomActionFunction = (...args: any[]) => unknown;
|
|
8198
|
+
|
|
8052
8199
|
/**
|
|
8053
8200
|
* Represents an engine plugin.
|
|
8054
8201
|
*
|
|
@@ -8308,7 +8455,7 @@ declare interface Flip {
|
|
|
8308
8455
|
}
|
|
8309
8456
|
|
|
8310
8457
|
/** @public */
|
|
8311
|
-
export declare type FloatPropertyName = 'globalBoundingBox/height' | 'globalBoundingBox/width' | 'globalBoundingBox/x' | 'globalBoundingBox/y' | 'height' | 'lastFrame/height' | 'lastFrame/width' | 'lastFrame/x' | 'lastFrame/y' | 'movement/constraint' | 'position/x' | 'position/y' | 'rotation' | 'scene/dpi' | 'scene/pageDimensions/height' | 'scene/pageDimensions/width' | 'scene/pixelScaleFactor' | 'width' | 'camera/pixelRatio' | 'camera/resolution/height' | 'camera/resolution/width' | 'camera/zoomLevel' | 'dropShadow/blurRadius/x' | 'dropShadow/blurRadius/y' | 'dropShadow/offset/x' | 'dropShadow/offset/y' | 'page/guides/gridSpacingX' | 'page/guides/gridSpacingY' | 'page/margin/bottom' | 'page/margin/left' | 'page/margin/right' | 'page/margin/top' | 'page/marginScale' | 'playback/speed' | 'playback/volume' | 'stroke/dashOffset' | 'stroke/width' | 'opacity' | 'backgroundColor/cornerRadius' | 'backgroundColor/paddingBottom' | 'backgroundColor/paddingLeft' | 'backgroundColor/paddingRight' | 'backgroundColor/paddingTop' | 'text/fontSize' | 'text/letterSpacing' | 'text/lineHeight' | 'text/maxAutomaticFontSize' | 'text/minAutomaticFontSize' | 'text/paragraphSpacing' | 'cutout/offset' | 'cutout/smoothing' | 'caption/fontSize' | 'caption/letterSpacing' | 'caption/lineHeight' | 'caption/maxAutomaticFontSize' | 'caption/minAutomaticFontSize' | 'caption/paragraphSpacing' | 'animation/slide/direction' | 'textAnimationOverlap' | 'animation/pan/direction' | 'animation/pan/distance' | 'animation/blur/intensity' | 'animation/grow/scaleFactor' | 'animation/crop_zoom/scale' | 'animation/spin/intensity' | 'animation/blur_loop/intensity' | 'animation/pulsating_loop/intensity' | 'animation/breathing_loop/intensity' | 'animation/jump_loop/intensity' | 'animation/sway_loop/intensity' | 'animation/spread_text/intensity' | 'animation/merge_text/intensity' | 'animation/ken_burns/travelDistanceRatio' | 'animation/ken_burns/zoomIntensity' | 'blur/uniform/intensity' | 'blur/linear/blurRadius' | 'blur/linear/x1' | 'blur/linear/x2' | 'blur/linear/y1' | 'blur/linear/y2' | 'blur/mirrored/blurRadius' | 'blur/mirrored/gradientSize' | 'blur/mirrored/size' | 'blur/mirrored/x1' | 'blur/mirrored/x2' | 'blur/mirrored/y1' | 'blur/mirrored/y2' | 'blur/radial/blurRadius' | 'blur/radial/gradientRadius' | 'blur/radial/radius' | 'blur/radial/x' | 'blur/radial/y' | 'effect/adjustments/blacks' | 'effect/adjustments/brightness' | 'effect/adjustments/clarity' | 'effect/adjustments/contrast' | 'effect/adjustments/exposure' | 'effect/adjustments/gamma' | 'effect/adjustments/highlights' | 'effect/adjustments/saturation' | 'effect/adjustments/shadows' | 'effect/adjustments/sharpness' | 'effect/adjustments/temperature' | 'effect/adjustments/whites' | 'effect/cross_cut/offset' | 'effect/cross_cut/slices' | 'effect/cross_cut/speedV' | 'effect/cross_cut/time' | 'effect/dot_pattern/blur' | 'effect/dot_pattern/dots' | 'effect/dot_pattern/size' | 'effect/duotone_filter/intensity' | 'effect/extrude_blur/amount' | 'effect/glow/amount' | 'effect/glow/darkness' | 'effect/glow/size' | 'effect/green_screen/colorMatch' | 'effect/green_screen/smoothness' | 'effect/green_screen/spill' | 'effect/half_tone/angle' | 'effect/half_tone/scale' | 'effect/linocut/scale' | 'effect/liquid/amount' | 'effect/liquid/scale' | 'effect/liquid/time' | 'effect/lut_filter/intensity' | 'effect/outliner/amount' | 'effect/outliner/passthrough' | 'effect/posterize/levels' | 'effect/radial_pixel/radius' | 'effect/radial_pixel/segments' | 'effect/recolor/brightnessMatch' | 'effect/recolor/colorMatch' | 'effect/recolor/smoothness' | 'effect/shifter/amount' | 'effect/shifter/angle' | 'effect/tilt_shift/amount' | 'effect/tilt_shift/position' | 'effect/tv_glitch/distortion' | 'effect/tv_glitch/distortion2' | 'effect/tv_glitch/rollSpeed' | 'effect/tv_glitch/speed' | 'effect/vignette/darkness' | 'effect/vignette/offset' | 'fill/gradient/linear/endPointX' | 'fill/gradient/linear/endPointY' | 'fill/gradient/linear/startPointX' | 'fill/gradient/linear/startPointY' | 'fill/gradient/radial/centerPointX' | 'fill/gradient/radial/centerPointY' | 'fill/gradient/radial/radius' | 'fill/gradient/conical/centerPointX' | 'fill/gradient/conical/centerPointY' | 'shape/rect/cornerRadiusBL' | 'shape/rect/cornerRadiusBR' | 'shape/rect/cornerRadiusTL' | 'shape/rect/cornerRadiusTR' | 'shape/polygon/cornerRadius' | 'shape/star/cornerRadius' | 'shape/star/innerDiameter' | 'shape/vector_path/cornerRadius' | 'shape/vector_path/height' | 'shape/vector_path/width' | (string & {});
|
|
8458
|
+
export declare type FloatPropertyName = 'globalBoundingBox/height' | 'globalBoundingBox/width' | 'globalBoundingBox/x' | 'globalBoundingBox/y' | 'height' | 'lastFrame/height' | 'lastFrame/width' | 'lastFrame/x' | 'lastFrame/y' | 'movement/constraint' | 'position/x' | 'position/y' | 'rotation' | 'scene/dpi' | 'scene/pageDimensions/height' | 'scene/pageDimensions/width' | 'scene/pixelScaleFactor' | 'width' | 'camera/pixelRatio' | 'camera/resolution/height' | 'camera/resolution/width' | 'camera/zoomLevel' | 'dropShadow/blurRadius/x' | 'dropShadow/blurRadius/y' | 'dropShadow/offset/x' | 'dropShadow/offset/y' | 'page/guides/gridSpacingX' | 'page/guides/gridSpacingY' | 'page/margin/bottom' | 'page/margin/left' | 'page/margin/right' | 'page/margin/top' | 'page/marginScale' | 'playback/speed' | 'playback/volume' | 'stroke/dashOffset' | 'stroke/width' | 'opacity' | 'backgroundColor/cornerRadius' | 'backgroundColor/paddingBottom' | 'backgroundColor/paddingLeft' | 'backgroundColor/paddingRight' | 'backgroundColor/paddingTop' | 'text/fontSize' | 'text/letterSpacing' | 'text/lineHeight' | 'text/maxAutomaticFontSize' | 'text/minAutomaticFontSize' | 'text/paragraphSpacing' | 'text/pathOffset' | 'cutout/offset' | 'cutout/smoothing' | 'caption/fontSize' | 'caption/letterSpacing' | 'caption/lineHeight' | 'caption/maxAutomaticFontSize' | 'caption/minAutomaticFontSize' | 'caption/paragraphSpacing' | 'caption/pathOffset' | 'animation/slide/direction' | 'textAnimationOverlap' | 'animation/pan/direction' | 'animation/pan/distance' | 'animation/blur/intensity' | 'animation/grow/scaleFactor' | 'animation/crop_zoom/scale' | 'animation/spin/intensity' | 'animation/blur_loop/intensity' | 'animation/pulsating_loop/intensity' | 'animation/breathing_loop/intensity' | 'animation/jump_loop/intensity' | 'animation/sway_loop/intensity' | 'animation/spread_text/intensity' | 'animation/merge_text/intensity' | 'animation/ken_burns/travelDistanceRatio' | 'animation/ken_burns/zoomIntensity' | 'blur/uniform/intensity' | 'blur/linear/blurRadius' | 'blur/linear/x1' | 'blur/linear/x2' | 'blur/linear/y1' | 'blur/linear/y2' | 'blur/mirrored/blurRadius' | 'blur/mirrored/gradientSize' | 'blur/mirrored/size' | 'blur/mirrored/x1' | 'blur/mirrored/x2' | 'blur/mirrored/y1' | 'blur/mirrored/y2' | 'blur/radial/blurRadius' | 'blur/radial/gradientRadius' | 'blur/radial/radius' | 'blur/radial/x' | 'blur/radial/y' | 'effect/adjustments/blacks' | 'effect/adjustments/brightness' | 'effect/adjustments/clarity' | 'effect/adjustments/contrast' | 'effect/adjustments/exposure' | 'effect/adjustments/gamma' | 'effect/adjustments/highlights' | 'effect/adjustments/saturation' | 'effect/adjustments/shadows' | 'effect/adjustments/sharpness' | 'effect/adjustments/temperature' | 'effect/adjustments/whites' | 'effect/cross_cut/offset' | 'effect/cross_cut/slices' | 'effect/cross_cut/speedV' | 'effect/cross_cut/time' | 'effect/dot_pattern/blur' | 'effect/dot_pattern/dots' | 'effect/dot_pattern/size' | 'effect/duotone_filter/intensity' | 'effect/extrude_blur/amount' | 'effect/glow/amount' | 'effect/glow/darkness' | 'effect/glow/size' | 'effect/green_screen/colorMatch' | 'effect/green_screen/smoothness' | 'effect/green_screen/spill' | 'effect/half_tone/angle' | 'effect/half_tone/scale' | 'effect/linocut/scale' | 'effect/liquid/amount' | 'effect/liquid/scale' | 'effect/liquid/time' | 'effect/lut_filter/intensity' | 'effect/outliner/amount' | 'effect/outliner/passthrough' | 'effect/posterize/levels' | 'effect/radial_pixel/radius' | 'effect/radial_pixel/segments' | 'effect/recolor/brightnessMatch' | 'effect/recolor/colorMatch' | 'effect/recolor/smoothness' | 'effect/shifter/amount' | 'effect/shifter/angle' | 'effect/tilt_shift/amount' | 'effect/tilt_shift/position' | 'effect/tv_glitch/distortion' | 'effect/tv_glitch/distortion2' | 'effect/tv_glitch/rollSpeed' | 'effect/tv_glitch/speed' | 'effect/vignette/darkness' | 'effect/vignette/offset' | 'fill/gradient/linear/endPointX' | 'fill/gradient/linear/endPointY' | 'fill/gradient/linear/startPointX' | 'fill/gradient/linear/startPointY' | 'fill/gradient/radial/centerPointX' | 'fill/gradient/radial/centerPointY' | 'fill/gradient/radial/radius' | 'fill/gradient/conical/centerPointX' | 'fill/gradient/conical/centerPointY' | 'shape/rect/cornerRadiusBL' | 'shape/rect/cornerRadiusBR' | 'shape/rect/cornerRadiusTL' | 'shape/rect/cornerRadiusTR' | 'shape/polygon/cornerRadius' | 'shape/star/cornerRadius' | 'shape/star/innerDiameter' | 'shape/vector_path/cornerRadius' | 'shape/vector_path/height' | 'shape/vector_path/width' | (string & {});
|
|
8312
8459
|
|
|
8313
8460
|
/**
|
|
8314
8461
|
* Individual font within a typeface. Field optionality matches `@cesdk/engine`
|
|
@@ -9832,6 +9979,7 @@ export declare interface Settings {
|
|
|
9832
9979
|
|
|
9833
9980
|
|
|
9834
9981
|
|
|
9982
|
+
|
|
9835
9983
|
|
|
9836
9984
|
|
|
9837
9985
|
}
|
|
@@ -10032,7 +10180,7 @@ export declare interface SpotColor {
|
|
|
10032
10180
|
}
|
|
10033
10181
|
|
|
10034
10182
|
/** @public */
|
|
10035
|
-
export declare type StringPropertyName = 'name' | 'scene/pageFormatId' | 'type' | 'uuid' | 'page/titleTemplate' | 'audio/fileURI' | 'text/externalReference' | 'text/fontFileUri' | 'text/text' | 'text/typeface' | 'cutout/path' | 'caption/externalReference' | 'caption/fontFileUri' | 'caption/text' | 'caption/typeface' | 'effect/lut_filter/filterId' | 'effect/lut_filter/lutFileURI' | 'fill/image/externalReference' | 'fill/image/imageFileURI' | 'fill/image/previewFileURI' | 'fill/video/fileURI' | 'shape/vector_path/path' | (string & {});
|
|
10183
|
+
export declare type StringPropertyName = 'name' | 'scene/pageFormatId' | 'type' | 'uuid' | 'page/titleTemplate' | 'audio/fileURI' | 'text/externalReference' | 'text/fontFileUri' | 'text/pathExternalRef' | 'text/text' | 'text/typeface' | 'cutout/path' | 'caption/externalReference' | 'caption/fontFileUri' | 'caption/pathExternalRef' | 'caption/text' | 'caption/typeface' | 'effect/lut_filter/filterId' | 'effect/lut_filter/lutFileURI' | 'fill/image/externalReference' | 'fill/image/imageFileURI' | 'fill/image/previewFileURI' | 'fill/video/fileURI' | 'shape/vector_path/path' | (string & {});
|
|
10036
10184
|
|
|
10037
10185
|
/** @public */
|
|
10038
10186
|
export declare type StrokeCap = (typeof StrokeCapValues)[number];
|