@cesdk/node 1.77.0-nightly.20260610 → 1.77.0-nightly.20260612
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.20260610-QHEYKLJ4.wasm → cesdk-v1.77.0-nightly.20260612-B7VVEG2R.wasm} +0 -0
- package/index.d.mts +108 -10
- package/index.d.ts +108 -10
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.77.0-nightly.20260610-MLEZSZ4D.data → cesdk-v1.77.0-nightly.20260612-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.
|
|
@@ -6565,6 +6615,30 @@ export declare type ContentFillMode = (typeof ContentFillModeValues)[number];
|
|
|
6565
6615
|
/** @public */
|
|
6566
6616
|
export declare const ContentFillModeValues: readonly ["Crop", "Cover", "Contain"];
|
|
6567
6617
|
|
|
6618
|
+
/** @public */
|
|
6619
|
+
export declare type ControlGizmoMoveHandleVisibility = (typeof ControlGizmoMoveHandleVisibilityValues)[number];
|
|
6620
|
+
|
|
6621
|
+
/** @public */
|
|
6622
|
+
export declare const ControlGizmoMoveHandleVisibilityValues: readonly ["auto", "always", "never"];
|
|
6623
|
+
|
|
6624
|
+
/** @public */
|
|
6625
|
+
export declare type ControlGizmoResizeHandlesVisibility = (typeof ControlGizmoResizeHandlesVisibilityValues)[number];
|
|
6626
|
+
|
|
6627
|
+
/** @public */
|
|
6628
|
+
export declare const ControlGizmoResizeHandlesVisibilityValues: readonly ["auto", "always", "never"];
|
|
6629
|
+
|
|
6630
|
+
/** @public */
|
|
6631
|
+
export declare type ControlGizmoRotateHandlesVisibility = (typeof ControlGizmoRotateHandlesVisibilityValues)[number];
|
|
6632
|
+
|
|
6633
|
+
/** @public */
|
|
6634
|
+
export declare const ControlGizmoRotateHandlesVisibilityValues: readonly ["auto", "always", "never"];
|
|
6635
|
+
|
|
6636
|
+
/** @public */
|
|
6637
|
+
export declare type ControlGizmoScaleHandlesVisibility = (typeof ControlGizmoScaleHandlesVisibilityValues)[number];
|
|
6638
|
+
|
|
6639
|
+
/** @public */
|
|
6640
|
+
export declare const ControlGizmoScaleHandlesVisibilityValues: readonly ["auto", "always", "never"];
|
|
6641
|
+
|
|
6568
6642
|
/**
|
|
6569
6643
|
* Options for creating a video scene.
|
|
6570
6644
|
* @public
|
|
@@ -8284,7 +8358,7 @@ declare interface Flip {
|
|
|
8284
8358
|
}
|
|
8285
8359
|
|
|
8286
8360
|
/** @public */
|
|
8287
|
-
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 & {});
|
|
8361
|
+
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 & {});
|
|
8288
8362
|
|
|
8289
8363
|
/**
|
|
8290
8364
|
* Individual font within a typeface. Field optionality matches `@cesdk/engine`
|
|
@@ -9516,20 +9590,24 @@ export declare type SettingBoolPropertyName = 'doubleClickToCropEnabled' | 'show
|
|
|
9516
9590
|
export declare type SettingColorPropertyName = 'clearColor' | 'handleFillColor' | 'highlightColor' | 'pageHighlightColor' | 'placeholderHighlightColor' | 'snappingGuideColor' | 'rotationSnappingGuideColor' | 'cropOverlayColor' | 'textVariableHighlightColor' | 'borderOutlineColor' | 'progressColor' | 'errorStateColor' | 'grid/color' | 'page/title/color' | 'page/marginFillColor' | 'page/marginFrameColor' | 'page/innerBorderColor' | 'page/outerBorderColor' | 'colorMaskingSettings/maskColor' | (string & {});
|
|
9517
9591
|
|
|
9518
9592
|
/** @public */
|
|
9519
|
-
export declare type SettingEnumPropertyName = 'touch/pinchAction' | 'touch/rotateAction' | 'camera/clamping/overshootMode' | 'doubleClickSelectionMode' | 'colorPicker/colorMode' | 'timeline/trackVisibility' | (string & {});
|
|
9593
|
+
export declare type SettingEnumPropertyName = 'touch/pinchAction' | 'touch/rotateAction' | 'camera/clamping/overshootMode' | 'controlGizmo/moveHandleVisibility' | 'controlGizmo/resizeHandlesVisibility' | 'controlGizmo/scaleHandlesVisibility' | 'controlGizmo/rotateHandlesVisibility' | 'doubleClickSelectionMode' | 'colorPicker/colorMode' | 'timeline/trackVisibility' | (string & {});
|
|
9520
9594
|
|
|
9521
9595
|
/** @public */
|
|
9522
9596
|
export declare type SettingEnumType = {
|
|
9523
9597
|
'touch/pinchAction': TouchPinchAction;
|
|
9524
9598
|
'touch/rotateAction': TouchRotateAction;
|
|
9525
9599
|
'camera/clamping/overshootMode': CameraClampingOvershootMode;
|
|
9600
|
+
'controlGizmo/moveHandleVisibility': ControlGizmoMoveHandleVisibility;
|
|
9601
|
+
'controlGizmo/resizeHandlesVisibility': ControlGizmoResizeHandlesVisibility;
|
|
9602
|
+
'controlGizmo/scaleHandlesVisibility': ControlGizmoScaleHandlesVisibility;
|
|
9603
|
+
'controlGizmo/rotateHandlesVisibility': ControlGizmoRotateHandlesVisibility;
|
|
9526
9604
|
doubleClickSelectionMode: DoubleClickSelectionMode;
|
|
9527
9605
|
'colorPicker/colorMode': ColorPickerColorMode;
|
|
9528
9606
|
'timeline/trackVisibility': TimelineTrackVisibility;
|
|
9529
9607
|
};
|
|
9530
9608
|
|
|
9531
9609
|
/** @public */
|
|
9532
|
-
export declare type SettingEnumValues = TouchPinchAction | TouchRotateAction | CameraClampingOvershootMode | DoubleClickSelectionMode | ColorPickerColorMode | TimelineTrackVisibility | (string & {});
|
|
9610
|
+
export declare type SettingEnumValues = TouchPinchAction | TouchRotateAction | CameraClampingOvershootMode | ControlGizmoMoveHandleVisibility | ControlGizmoResizeHandlesVisibility | ControlGizmoScaleHandlesVisibility | ControlGizmoRotateHandlesVisibility | DoubleClickSelectionMode | ColorPickerColorMode | TimelineTrackVisibility | (string & {});
|
|
9533
9611
|
|
|
9534
9612
|
/** @public */
|
|
9535
9613
|
export declare type SettingFloatPropertyName = 'positionSnappingThreshold' | 'rotationSnappingThreshold' | 'grid/spacingX' | 'grid/spacingY' | 'controlGizmo/blockScaleDownLimit' | 'listIndentPerLevel' | (string & {});
|
|
@@ -9562,15 +9640,15 @@ export declare interface Settings {
|
|
|
9562
9640
|
'controlGizmo/showCropHandles': boolean;
|
|
9563
9641
|
/** Whether to display the outer handles that scale the full image during crop. */
|
|
9564
9642
|
'controlGizmo/showCropScaleHandles': boolean;
|
|
9565
|
-
/**
|
|
9643
|
+
/** @deprecated Use `controlGizmo/moveHandleVisibility`. `false` hides the move handle. */
|
|
9566
9644
|
'controlGizmo/showMoveHandles': boolean;
|
|
9567
|
-
/**
|
|
9645
|
+
/** @deprecated Use `controlGizmo/moveHandleVisibility`. `false` shows the move handle at any block size. */
|
|
9568
9646
|
'controlGizmo/dynamicMoveHandleVisibility': boolean;
|
|
9569
|
-
/**
|
|
9647
|
+
/** @deprecated Use `controlGizmo/resizeHandlesVisibility`. `false` hides the edge (resize) handles. */
|
|
9570
9648
|
'controlGizmo/showResizeHandles': boolean;
|
|
9571
|
-
/**
|
|
9649
|
+
/** @deprecated Use `controlGizmo/rotateHandlesVisibility`. `false` hides the rotation handle. */
|
|
9572
9650
|
'controlGizmo/showRotateHandles': boolean;
|
|
9573
|
-
/**
|
|
9651
|
+
/** @deprecated Use `controlGizmo/scaleHandlesVisibility`. `false` hides the corner (scale) handles. */
|
|
9574
9652
|
'controlGizmo/showScaleHandles': boolean;
|
|
9575
9653
|
/** Enable double-click to enter crop mode. */
|
|
9576
9654
|
doubleClickToCropEnabled: boolean;
|
|
@@ -9746,6 +9824,26 @@ export declare interface Settings {
|
|
|
9746
9824
|
handleFillColor: Color;
|
|
9747
9825
|
/** Color of the grid lines. */
|
|
9748
9826
|
'grid/color': Color;
|
|
9827
|
+
/**
|
|
9828
|
+
* When the move handle is shown: 'auto' (by block size), 'always' (even while editing text, not in crop
|
|
9829
|
+
* mode), or 'never'. Replaces deprecated `controlGizmo/showMoveHandles`/`dynamicMoveHandleVisibility`.
|
|
9830
|
+
*/
|
|
9831
|
+
'controlGizmo/moveHandleVisibility': 'auto' | 'always' | 'never';
|
|
9832
|
+
/**
|
|
9833
|
+
* When the edge (resize) handles are shown: 'auto' (default), 'always' (even while editing text, not in
|
|
9834
|
+
* crop mode), or 'never'. Replaces the deprecated `controlGizmo/showResizeHandles`.
|
|
9835
|
+
*/
|
|
9836
|
+
'controlGizmo/resizeHandlesVisibility': 'auto' | 'always' | 'never';
|
|
9837
|
+
/**
|
|
9838
|
+
* When the corner (scale) handles are shown: 'auto' (default), 'always' (even while editing text, not in
|
|
9839
|
+
* crop mode), or 'never'. Replaces the deprecated `controlGizmo/showScaleHandles`.
|
|
9840
|
+
*/
|
|
9841
|
+
'controlGizmo/scaleHandlesVisibility': 'auto' | 'always' | 'never';
|
|
9842
|
+
/**
|
|
9843
|
+
* When the rotation handle is shown: 'auto' (default), 'always' (even while editing text, not in crop
|
|
9844
|
+
* mode), or 'never'. Replaces the deprecated `controlGizmo/showRotateHandles`.
|
|
9845
|
+
*/
|
|
9846
|
+
'controlGizmo/rotateHandlesVisibility': 'auto' | 'always' | 'never';
|
|
9749
9847
|
/** The selection mode for double-click: Direct selects the clicked element, Hierarchical traverses the hierarchy. */
|
|
9750
9848
|
doubleClickSelectionMode: 'Direct' | 'Hierarchical';
|
|
9751
9849
|
/** The action performed for pinch gestures: None, Zoom, Scale, Auto, or Dynamic. */
|
|
@@ -9984,7 +10082,7 @@ export declare interface SpotColor {
|
|
|
9984
10082
|
}
|
|
9985
10083
|
|
|
9986
10084
|
/** @public */
|
|
9987
|
-
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 & {});
|
|
10085
|
+
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 & {});
|
|
9988
10086
|
|
|
9989
10087
|
/** @public */
|
|
9990
10088
|
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.
|
|
@@ -6565,6 +6615,30 @@ export declare type ContentFillMode = (typeof ContentFillModeValues)[number];
|
|
|
6565
6615
|
/** @public */
|
|
6566
6616
|
export declare const ContentFillModeValues: readonly ["Crop", "Cover", "Contain"];
|
|
6567
6617
|
|
|
6618
|
+
/** @public */
|
|
6619
|
+
export declare type ControlGizmoMoveHandleVisibility = (typeof ControlGizmoMoveHandleVisibilityValues)[number];
|
|
6620
|
+
|
|
6621
|
+
/** @public */
|
|
6622
|
+
export declare const ControlGizmoMoveHandleVisibilityValues: readonly ["auto", "always", "never"];
|
|
6623
|
+
|
|
6624
|
+
/** @public */
|
|
6625
|
+
export declare type ControlGizmoResizeHandlesVisibility = (typeof ControlGizmoResizeHandlesVisibilityValues)[number];
|
|
6626
|
+
|
|
6627
|
+
/** @public */
|
|
6628
|
+
export declare const ControlGizmoResizeHandlesVisibilityValues: readonly ["auto", "always", "never"];
|
|
6629
|
+
|
|
6630
|
+
/** @public */
|
|
6631
|
+
export declare type ControlGizmoRotateHandlesVisibility = (typeof ControlGizmoRotateHandlesVisibilityValues)[number];
|
|
6632
|
+
|
|
6633
|
+
/** @public */
|
|
6634
|
+
export declare const ControlGizmoRotateHandlesVisibilityValues: readonly ["auto", "always", "never"];
|
|
6635
|
+
|
|
6636
|
+
/** @public */
|
|
6637
|
+
export declare type ControlGizmoScaleHandlesVisibility = (typeof ControlGizmoScaleHandlesVisibilityValues)[number];
|
|
6638
|
+
|
|
6639
|
+
/** @public */
|
|
6640
|
+
export declare const ControlGizmoScaleHandlesVisibilityValues: readonly ["auto", "always", "never"];
|
|
6641
|
+
|
|
6568
6642
|
/**
|
|
6569
6643
|
* Options for creating a video scene.
|
|
6570
6644
|
* @public
|
|
@@ -8284,7 +8358,7 @@ declare interface Flip {
|
|
|
8284
8358
|
}
|
|
8285
8359
|
|
|
8286
8360
|
/** @public */
|
|
8287
|
-
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 & {});
|
|
8361
|
+
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 & {});
|
|
8288
8362
|
|
|
8289
8363
|
/**
|
|
8290
8364
|
* Individual font within a typeface. Field optionality matches `@cesdk/engine`
|
|
@@ -9516,20 +9590,24 @@ export declare type SettingBoolPropertyName = 'doubleClickToCropEnabled' | 'show
|
|
|
9516
9590
|
export declare type SettingColorPropertyName = 'clearColor' | 'handleFillColor' | 'highlightColor' | 'pageHighlightColor' | 'placeholderHighlightColor' | 'snappingGuideColor' | 'rotationSnappingGuideColor' | 'cropOverlayColor' | 'textVariableHighlightColor' | 'borderOutlineColor' | 'progressColor' | 'errorStateColor' | 'grid/color' | 'page/title/color' | 'page/marginFillColor' | 'page/marginFrameColor' | 'page/innerBorderColor' | 'page/outerBorderColor' | 'colorMaskingSettings/maskColor' | (string & {});
|
|
9517
9591
|
|
|
9518
9592
|
/** @public */
|
|
9519
|
-
export declare type SettingEnumPropertyName = 'touch/pinchAction' | 'touch/rotateAction' | 'camera/clamping/overshootMode' | 'doubleClickSelectionMode' | 'colorPicker/colorMode' | 'timeline/trackVisibility' | (string & {});
|
|
9593
|
+
export declare type SettingEnumPropertyName = 'touch/pinchAction' | 'touch/rotateAction' | 'camera/clamping/overshootMode' | 'controlGizmo/moveHandleVisibility' | 'controlGizmo/resizeHandlesVisibility' | 'controlGizmo/scaleHandlesVisibility' | 'controlGizmo/rotateHandlesVisibility' | 'doubleClickSelectionMode' | 'colorPicker/colorMode' | 'timeline/trackVisibility' | (string & {});
|
|
9520
9594
|
|
|
9521
9595
|
/** @public */
|
|
9522
9596
|
export declare type SettingEnumType = {
|
|
9523
9597
|
'touch/pinchAction': TouchPinchAction;
|
|
9524
9598
|
'touch/rotateAction': TouchRotateAction;
|
|
9525
9599
|
'camera/clamping/overshootMode': CameraClampingOvershootMode;
|
|
9600
|
+
'controlGizmo/moveHandleVisibility': ControlGizmoMoveHandleVisibility;
|
|
9601
|
+
'controlGizmo/resizeHandlesVisibility': ControlGizmoResizeHandlesVisibility;
|
|
9602
|
+
'controlGizmo/scaleHandlesVisibility': ControlGizmoScaleHandlesVisibility;
|
|
9603
|
+
'controlGizmo/rotateHandlesVisibility': ControlGizmoRotateHandlesVisibility;
|
|
9526
9604
|
doubleClickSelectionMode: DoubleClickSelectionMode;
|
|
9527
9605
|
'colorPicker/colorMode': ColorPickerColorMode;
|
|
9528
9606
|
'timeline/trackVisibility': TimelineTrackVisibility;
|
|
9529
9607
|
};
|
|
9530
9608
|
|
|
9531
9609
|
/** @public */
|
|
9532
|
-
export declare type SettingEnumValues = TouchPinchAction | TouchRotateAction | CameraClampingOvershootMode | DoubleClickSelectionMode | ColorPickerColorMode | TimelineTrackVisibility | (string & {});
|
|
9610
|
+
export declare type SettingEnumValues = TouchPinchAction | TouchRotateAction | CameraClampingOvershootMode | ControlGizmoMoveHandleVisibility | ControlGizmoResizeHandlesVisibility | ControlGizmoScaleHandlesVisibility | ControlGizmoRotateHandlesVisibility | DoubleClickSelectionMode | ColorPickerColorMode | TimelineTrackVisibility | (string & {});
|
|
9533
9611
|
|
|
9534
9612
|
/** @public */
|
|
9535
9613
|
export declare type SettingFloatPropertyName = 'positionSnappingThreshold' | 'rotationSnappingThreshold' | 'grid/spacingX' | 'grid/spacingY' | 'controlGizmo/blockScaleDownLimit' | 'listIndentPerLevel' | (string & {});
|
|
@@ -9562,15 +9640,15 @@ export declare interface Settings {
|
|
|
9562
9640
|
'controlGizmo/showCropHandles': boolean;
|
|
9563
9641
|
/** Whether to display the outer handles that scale the full image during crop. */
|
|
9564
9642
|
'controlGizmo/showCropScaleHandles': boolean;
|
|
9565
|
-
/**
|
|
9643
|
+
/** @deprecated Use `controlGizmo/moveHandleVisibility`. `false` hides the move handle. */
|
|
9566
9644
|
'controlGizmo/showMoveHandles': boolean;
|
|
9567
|
-
/**
|
|
9645
|
+
/** @deprecated Use `controlGizmo/moveHandleVisibility`. `false` shows the move handle at any block size. */
|
|
9568
9646
|
'controlGizmo/dynamicMoveHandleVisibility': boolean;
|
|
9569
|
-
/**
|
|
9647
|
+
/** @deprecated Use `controlGizmo/resizeHandlesVisibility`. `false` hides the edge (resize) handles. */
|
|
9570
9648
|
'controlGizmo/showResizeHandles': boolean;
|
|
9571
|
-
/**
|
|
9649
|
+
/** @deprecated Use `controlGizmo/rotateHandlesVisibility`. `false` hides the rotation handle. */
|
|
9572
9650
|
'controlGizmo/showRotateHandles': boolean;
|
|
9573
|
-
/**
|
|
9651
|
+
/** @deprecated Use `controlGizmo/scaleHandlesVisibility`. `false` hides the corner (scale) handles. */
|
|
9574
9652
|
'controlGizmo/showScaleHandles': boolean;
|
|
9575
9653
|
/** Enable double-click to enter crop mode. */
|
|
9576
9654
|
doubleClickToCropEnabled: boolean;
|
|
@@ -9746,6 +9824,26 @@ export declare interface Settings {
|
|
|
9746
9824
|
handleFillColor: Color;
|
|
9747
9825
|
/** Color of the grid lines. */
|
|
9748
9826
|
'grid/color': Color;
|
|
9827
|
+
/**
|
|
9828
|
+
* When the move handle is shown: 'auto' (by block size), 'always' (even while editing text, not in crop
|
|
9829
|
+
* mode), or 'never'. Replaces deprecated `controlGizmo/showMoveHandles`/`dynamicMoveHandleVisibility`.
|
|
9830
|
+
*/
|
|
9831
|
+
'controlGizmo/moveHandleVisibility': 'auto' | 'always' | 'never';
|
|
9832
|
+
/**
|
|
9833
|
+
* When the edge (resize) handles are shown: 'auto' (default), 'always' (even while editing text, not in
|
|
9834
|
+
* crop mode), or 'never'. Replaces the deprecated `controlGizmo/showResizeHandles`.
|
|
9835
|
+
*/
|
|
9836
|
+
'controlGizmo/resizeHandlesVisibility': 'auto' | 'always' | 'never';
|
|
9837
|
+
/**
|
|
9838
|
+
* When the corner (scale) handles are shown: 'auto' (default), 'always' (even while editing text, not in
|
|
9839
|
+
* crop mode), or 'never'. Replaces the deprecated `controlGizmo/showScaleHandles`.
|
|
9840
|
+
*/
|
|
9841
|
+
'controlGizmo/scaleHandlesVisibility': 'auto' | 'always' | 'never';
|
|
9842
|
+
/**
|
|
9843
|
+
* When the rotation handle is shown: 'auto' (default), 'always' (even while editing text, not in crop
|
|
9844
|
+
* mode), or 'never'. Replaces the deprecated `controlGizmo/showRotateHandles`.
|
|
9845
|
+
*/
|
|
9846
|
+
'controlGizmo/rotateHandlesVisibility': 'auto' | 'always' | 'never';
|
|
9749
9847
|
/** The selection mode for double-click: Direct selects the clicked element, Hierarchical traverses the hierarchy. */
|
|
9750
9848
|
doubleClickSelectionMode: 'Direct' | 'Hierarchical';
|
|
9751
9849
|
/** The action performed for pinch gestures: None, Zoom, Scale, Auto, or Dynamic. */
|
|
@@ -9984,7 +10082,7 @@ export declare interface SpotColor {
|
|
|
9984
10082
|
}
|
|
9985
10083
|
|
|
9986
10084
|
/** @public */
|
|
9987
|
-
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 & {});
|
|
10085
|
+
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 & {});
|
|
9988
10086
|
|
|
9989
10087
|
/** @public */
|
|
9990
10088
|
export declare type StrokeCap = (typeof StrokeCapValues)[number];
|