Search Docs
Loading...
Skip to content

Package: documentation

Classes#

Class Description
VariableAPI Manage text variables within design templates.
EngineActions Named actions for one engine, one per id. The engine registers its own actions (e.g. undo/redo) and you register yours; registering an id replaces whatever was there, whoever registered it.
BlockAPI BlockAPI provides methods for creating, manipulating, and querying design blocks. Design blocks are the fundamental building blocks of a scene - they represent visual elements like graphics, text, images, and containers.
SceneAPI SceneAPI provides methods for managing scenes and pages
EditorAPI EditorAPI provides methods for editor state management
EventAPI EventAPI provides methods for event subscription
AssetAPI AssetAPI provides methods for asset source management API matches Web bindings: engine.asset.*
CreativeEngine The CreativeEngine is the core processing unit of CE.SDK and handles state management, rendering, input handling, and much more. It provides APIs to directly interact with assets, blocks, scenes, and variables. These APIs can be used in a headless environment to build and manipulate designs programmatically.
TerminalCanvas A live-view host. Attach one with engine.attachCanvas().

Functions#

Function Description
isRGBAColor Type guard for RGBAColor.
isSpotColor Type guard for SpotColor.
isCMYKColor Type guard for CMYKColor.
defaultLogger Default logger used by @cesdk/node when Configuration.logger is not supplied. Routes by level to console.info / console.warn / console.error, mirroring @cesdk/engine’s defaultLogger (bindings/wasm/js_web/src/configuration/defaultLogger.ts).

Type Aliases#

Type Alias Description
FrameHandle The timer or immediate that requestFrame returns, which the engine clears on dispose. The published types name no Node.js type, so a project without @types/node compiles against them.
LogLevel Logger types and runtime export. Mirrors @cesdk/engine’s bindings/wasm/js_web/src/types/Logger.ts, so a Logger fits both engines of @cesdk/node.
Logger Represents a logger callable.
DesignBlockTypeShorthand -
DesignBlockTypeLonghand -
DesignBlockType -
ShapeTypeShorthand -
ShapeTypeLonghand -
ShapeType -
FillTypeShorthand -
FillTypeLonghand -
FillType -
EffectTypeShorthand -
EffectTypeLonghand -
EffectType -
ModifierTypeShorthand -
ModifierTypeLonghand The longhand block type IDs for the modifier blocks. These are the IDs used to create new modifiers using cesdk.engine.block.createModifier(id).
ModifierType The block type IDs for the modifier blocks. These are the IDs used to create new modifiers using cesdk.engine.block.createModifier(id). Refer to ModifierTypeShorthand and ModifierTypeLonghand for more details.
BlurTypeShorthand -
BlurTypeLonghand -
BlurType -
AnimationTypeShorthand -
AnimationTypeLonghand -
AnimationType -
TransitionTypeShorthand -
TransitionTypeLonghand The longhand block type IDs for the transition blocks. These are the IDs used to create new transitions using cesdk.engine.block.createTransition(id).
TransitionType The block type IDs for the transition blocks. These are the IDs used to create new transitions using cesdk.engine.block.createTransition(id). Refer to TransitionTypeShorthand and TransitionTypeLonghand for more details.
ObjectTypeShorthand -
ObjectTypeLonghand -
ObjectType -
DesignBlockId A numerical identifier for a design block
HistoryId A unique identifier for a history state
SubscriptionId A unique identifier for an event subscription (used internally by bindings)
Device Render-/decode-/encode-device selector.
EngineSelection Which engine CreativeEngine.init starts.
VideoBitrateMode Selects how the video bitrate is determined when no explicit bitrate is given. - 'System': let the platform encoder choose the bitrate (the default). In the browser this can be a very high, near-lossless rate that may cause large exports to fail with an out-of-memory error. - 'Auto': a bounded default derived from the output resolution and framerate, consistent across platforms.
Color Union of all color types
XYWH Rectangle as the C++-binding tuple [x, y, w, h]. Matches @cesdk/engine’s XYWH so getScreenSpaceBoundingBoxXYWH returns the same shape everywhere.
RGBA RGBA color as the C++-binding tuple [r, g, b, a]. Matches @cesdk/engine’s RGBA; the object form is RGBAColor. The tuple is what the raw get*ColorRGBA / getFillSolidColor binding methods return.
CMYK CMYK color as the C++-binding tuple [c, m, y, k]. Matches @cesdk/engine’s CMYK.
GradientstopRGBA Gradient stop as the C++-binding tuple [stop, r, g, b, a]. Matches @cesdk/engine’s GradientstopRGBA.
BlockState The state of a design block. Matches @cesdk/engine’s BlockState.
TextFontUsageStatus Whether shaping selected the requested font, a replacement, or no usable font.
FontWeight Allowed font weights. Mirrors the @cesdk/engine (WASM) FontWeight union so a single Font is interchangeable across bindings.
FontStyle Allowed font styles. Mirrors the WASM FontStyle union.
TypefaceResolver Resolves an authored identity. For undefined, the engine uses the default font, and the request reports substituted.
Locale Locale tag, e.g. 'en', 'de'.
AssetGroups Groups carry semantic meaning used to build and group UIs over assets (sections in a content library, topics, etc.). Tags in comparison are looser, used for extended search/filter.
SortingOrder Sort order applied by an asset source when supported. None keeps insertion order.
AssetMetaData Asset metadata.
AssetColor Asset color payload (parallel to engine Color; intentionally separate).
AssetTransformPreset Transform preset payload union.
AssetQueryData The query that a custom source’s findAssets receives. The engine always sets page and perPage, and passes sortingOrder as one of the SortingOrder names, as @cesdk/engine’s AssetQueryData declares.
AssetPropertyPath Dot-path against the resolved asset that a property predicate targets: label, id, tags, groups, or meta.<key> (one segment).
AssetPropertyFilter A single property predicate. Exactly one of contains (case-insensitive substring) or equals (case-insensitive equality) must be set — the type forbids passing both or neither. On a string-array property (tags, groups), the operator matches if any element matches. meta.<key> values are flat strings, compared whole.
AssetFilter Filter expression — predicate or logical combinator. Combinators nest arbitrarily. The union is mutually exclusive: an object with both and and or, or with property next to a combinator key, is rejected at the type level.
AssetFacetPath Property paths that can be faceted — the facetable subset of AssetPropertyPath. label and id are excluded because their cardinality is unbounded.
VideoCodec -
AudioCodec -
MimeType -
ImageMimeType -
AudioMimeType -
VideoMimeType The container a video export can write: MP4 or WebM.
ApplicationMimeType -
DesignUnit Design units
PositionMode Position modes
SizeMode Size modes
MatteMode The channel of a matte source that masks a block.
TrackMode How a keyframe track combines with the static value of its property.
KeyframePathVertex -
KeyframeValue The value of a keyframe. type names the kind of the value, which must match the kind of the property.
HorizontalTextAlignment Text horizontal alignment.
VerticalTextAlignment Text vertical alignment
PropertyType Property types
BlockEventType The kind of block-lifecycle event the engine emits. Matches the engine’s internal BlockEventType enum used in subscription payloads.
AssetProperty Union of all asset property types
HexColorString Hex color string starting with #. @cesdk/node exposes this as a branded string alias; we use a plain string alias for runtime parity.
PaletteColor Custom-palette color. Mirrors @cesdk/engine’s PaletteColor.
ColorSpace Engine color space discriminator.
ZoomAutoFitAxis -
EditMode Editor edit mode. Mirrors @cesdk/engine’s EditMode literal union.
FontSizeUnit Font-size unit. Mirrors @cesdk/engine’s bindings/wasm/js_web/src/utils/unitConversion.ts. 'Point' is the engine’s native unit; the rest are converted to points before reaching the C++ engine via DPI-aware conversion.
RoleString Engine role string. Mirrors @cesdk/engine’s role.ts exactly — a closed union (no `
Scope Engine scope string. Mirrors @cesdk/engine’s bindings/wasm/js_web/src/types/scope.ts.
CutoutOperation Boolean operation between cutout shapes. Mirrors @cesdk/engine’s bindings/wasm/js_web/src/types/cutout.ts.
VariableType The value type of a variable. Mirrors @cesdk/node’s bindings/wasm/js_web/src/types/variable.ts.
ValueSetId The id of a value set. The scene saves it, so it stays the same across saves, loads and renames. Mirrors @cesdk/node’s bindings/wasm/js_web/src/types/variable.ts.
VariableTarget The layer that a variable call reads or writes. Mirrors @cesdk/node’s bindings/wasm/js_web/src/types/variable.ts.
BooleanOperation Boolean operation for block.combineShapes / cutout creation.
TextCase Text case transform. Mirrors @cesdk/engine’s BlockAPI.ts.
ScriptStyle the script style of a range of text. Mirrors @cesdk/engine’s BlockAPI.ts.
ListStyle Ordered/unordered text list style. Mirrors @cesdk/engine’s BlockAPI.ts.
HorizontalBlockAlignment Multi-block horizontal alignment passed to block.alignHorizontally. Alias of TextHorizontalAlignment for cross-binding naming parity (@cesdk/node re-exports it under this name from BlockAPI).
VerticalBlockAlignment Multi-block vertical alignment passed to block.alignVertically. Alias of TextVerticalAlignment.
SettingType Discriminator for editor.{get,set}Setting family. Mirrors the strings accepted by @cesdk/engine’s typed setter overloads.
SettingsBool -
SettingsInt -
SettingsFloat -
SettingsDouble -
SettingsString -
SettingsColor -
SettingsColorRGBA -
SettingsEnum -
OptionalPrefix Helper that strips an optional ubq:// prefix from a settings keypath. Mirrors @cesdk/engine’s OptionalPrefix<T>.
SyncURIResolver Synchronous URI resolver. Mirrors @cesdk/engine’s bindings/wasm/js_web/src/EditorAPI.ts.
AsyncURIResolver Asynchronous URI resolver. Mirrors @cesdk/engine’s bindings/wasm/js_web/src/EditorAPI.ts.
HistoryUpdate Discriminator emitted by editor.onHistoryUpdatedWithKind. Matches engine ubq::editor::HistoryUpdate (engine/src/ubq/editor/History.hpp).
DefaultAssetSourceId v4-era default asset source IDs. Public surface mirrors @cesdk/node: bindings/wasm/js_node/src/CreativeEngine.ts uses the same union from bindings/wasm/js_web/src/addDefaultAssetSources.ts.
DemoAssetSourceId Demo (v3) asset source IDs. Mirrors @cesdk/engine’s bindings/wasm/js_web/src/addDemoAssetSources.ts.
CreateSceneOptions Options for creating a scene with a default page in one call.
LoadSceneOptions Options for loading a scene.
AbortOptions Options of an engine call that an abort signal can stop.
ProfileRole The role of a document color profile.
ProfileColorSpace The component space described by an ICC profile.
SoftProofColorSpace The color spaces that soft proofing can simulate.
ImportedImageColorSpace PDF image color spaces supported by the imported image definition.
ImportedImageMaskKind The meaning of the imported image’s mask samples.
TextDecorationLine Lines that can be drawn as text decorations. None disables decorations. Multiple lines may be combined in a single config.
TextDecorationStyle Visual style for text decoration lines.
MovementConstraintRule A movement constraint rule. The scope is determined by which key is present: neither (scene-wide default), block (per-block, includes pages), or blockType (per-block-type).
MovementConstraintScope Scope descriptor used to identify an existing movement constraint for removal.
ResolvedMovementConstraint Effective movement constraint for a block, or null when no constraint applies.
ZoomOptions Options for zooming to a block with optional animation.
BoolPropertyName -
EnumPropertyName -
FloatPropertyName -
IntPropertyName -
StringPropertyName -
DoublePropertyName -
Vec2PropertyName -
ColorPropertyName -
SourceSetPropertyName -
BlendMode -
HorizontalContentFillAlignment -
ContentFillMode -
VerticalContentFillAlignment -
HeightMode -
PositionXMode -
PositionYMode -
SceneAngleUnit -
SceneColorConversionMode -
SceneDesignUnit -
SceneFontSizeUnit -
SceneLayout -
SceneMode -
WidthMode -
LayoutAlignCounter -
LayoutAlignPrimary -
LayoutMode -
LayoutScaleContent -
PageGuidesSource -
PagePageSliceAxis -
StrokeCap -
StrokeCornerGeometry -
StrokeDashEndCap -
StrokeDashStartCap -
StrokeEndCap -
StrokePosition -
StrokeStartCap -
StrokeStyle -
LayoutChildHeightSizing -
LayoutChildHorizontalConstraint -
LayoutChildVerticalConstraint -
LayoutChildWidthSizing -
PlaybackFadeInEasing -
PlaybackFadeOutEasing -
TextHorizontalAlignment -
TextVerticalAlignment -
CutoutType -
CaptionHorizontalAlignment -
CaptionVerticalAlignment -
AnimationEasing -
TextAnimationWritingStyle -
AnimationGrowDirection -
AnimationWipeDirection -
AnimationBaselineDirection -
AnimationSpinDirection -
AnimationSpinLoopDirection -
AnimationJumpLoopDirection -
AnimationTypewriterTextWritingStyle -
AnimationBlockSwipeTextDirection -
AnimationMergeTextDirection -
AnimationKenBurnsDirection -
TransitionCrossSpinDirection -
TransitionPushDirection -
TransitionSlideDirection -
TransitionStackDirection -
TransitionSpliceDirection -
TransitionDiagonalSpliceDirection -
TransitionColorWipeDirection -
TransitionWipeDirection -
TransitionChopCorner -
TransitionChopDirection -
TransitionGradientFadeDirection -
TransitionTwoStripesDirection -
BlurUniformMode -
ModifierTrimMode -
ModifierRepeaterComposite -
ModifierOffsetJoin -
ModifierZigzagPointType -
EffectDisplacementMapHorizontalChannel -
EffectDisplacementMapMapBehavior -
EffectDisplacementMapVerticalChannel -
EffectInvertChannel -
EffectRadialWipeDirection -
EffectShiftChannelsTakeAlphaFrom -
EffectShiftChannelsTakeBlueFrom -
EffectShiftChannelsTakeGreenFrom -
EffectShiftChannelsTakeRedFrom -
EffectStrokePaintStyle -
EffectWaveWarpWaveType -
FillPixelStreamOrientation -
ShapeVectorPathFillRule -
ShapeCompoundFillRule -
ShapeCompoundMode -
MaskMode -
TextAnimatorSelectorBasedOn -
TextAnimatorSelectorShape -
TextAnimatorSelectorUnits -
EnumValues -
BlockEnumType -
SettingStringPropertyName -
SettingColorPropertyName -
SettingFloatPropertyName -
SettingBoolPropertyName -
SettingDoublePropertyName -
SettingEnumPropertyName -
SettingIntPropertyName -
ClipInitialDurationMode -
TouchPinchAction -
TouchRotateAction -
CameraClampingOvershootMode -
ControlGizmoMoveHandleVisibility -
ControlGizmoResizeHandlesVisibility -
ControlGizmoScaleHandlesVisibility -
ControlGizmoRotateHandlesVisibility -
DoubleClickSelectionMode -
ColorPickerColorMode -
TimelineTrackVisibility -
SettingEnumValues -
SettingEnumType -
SettingKey Union type of all valid setting keys.
SettingValueType Gets the value type for a specific setting key.
EngineCapability A platform capability queryable via EditorAPI.getCapabilityState.
EngineCapabilityState Where a capability stands, in this order: - unchecked: no answer yet. Browser measurements start with checkCapabilities() or a video check action. Native AAC and MP3 decoding can remain unchecked until an existing media operation initializes a licensed backend and a later checkCapabilities() call refreshes its evidence. - pending: it is being measured, and the answer arrives on its own. - supported or unsupported: the answer. A codec that stays silent through its own test counts as unsupported. A measurement the browser cuts off, as a background tab can, is no answer: the capability goes back to unchecked, and anyone still waiting gets a new measurement.
AssetStylePresetAnimationProperties The parameters of an AssetStylePresetAnimation: a map of the animation’s property paths to values. The animation’s animation/* properties (e.g. animation/slide/fade, animation/grow/scaleFactor) are value-checked and autocomplete, as are the animation controls (playback/duration, animationEasing, textWritingStyle, textWritingOverlap); any other property path is still accepted. These are animation paths, distinct from the block-property paths in AssetStylePresetProperties.
AssetStylePresetPropertyValue A value a style preset can set on a property: a boolean, number, string (including enum values) or an RGB(A) color. Colors must be RGB(A) ({ r, g, b, a? }); CMYK and spot colors are not supported in presets. Structs and source sets cannot be set from a preset. A null value is ignored for regular properties; for the virtual text/path property it clears the baseline path.
AssetStylePresetProperties The look of an AssetStylePreset: a map of property paths to values. Known paths are value-checked and autocomplete (e.g. stroke/enabled must be a boolean, stroke/width a number, fill/solid/color a color); any other property path is still accepted with the broader AssetStylePresetPropertyValue. Keys without a / are namespaced to the block (text/ or caption/); keys with a / are used verbatim.
AssetStylePresetScalableProperty A length property a style preset may scale with the block’s font size (see AssetStylePreset.scaleWithFontSize). Restricted to the decoration lengths for which scaling is meaningful — stroke width, drop-shadow offset/blur and the caption background corner radius — not arbitrary numeric properties like rotation or opacity.
AssetStylePresetKeptProperty A property a style preset can keep on a block it restyles (see AssetStylePreset.keepExisting): a property path as in AssetStylePreset.properties or AssetStylePreset.scaleWithFontSize, or 'typeface' for the font. A path without a / is namespaced to the block (text/ or caption/).
EngineActionId Known action ids from EngineActionsRegistry.
EngineCustomActionFunction A generic, untyped action function for custom ids.
KeyframeEasing The curve from a keyframe to the next one.
Keyframe One keyframe of a property: a normalized time from 0 to 1, a value, and the curve to the next keyframe.

Enumerations#

Enumeration Description
MouseButton Mouse buttons, in the engine’s own order.
ColorRenderingIntent How a color that the destination cannot reproduce is mapped into it.
CompressionFormat Compression format for saved scenes. Zstd is the default. Zstd shrinks the scene; a saved string stays a string, carrying a “UBQ2” prefix followed by base64 of the compressed bytes.
CompressionLevel Compression level preset for Zstd. Default is balanced; Fastest trades ratio for speed; Best trades speed for ratio.

Interfaces#

Interface Description
FrameInfo A frame’s provenance and layout, as reported by getFrameInfo().
FrameSurface The slice of the engine a canvas may touch, satisfied by the raw native binding.
InputModifiers Modifier keys held when an input event was produced.
EngineCanvas A live-view host. Attach one with engine.attachCanvas().
Configuration Configuration options for CreativeEngine.init. An option that only one of the two engines reads says so.
ExportArea A rectangle of a block to export, in design units.
ExportOptions Options for exporting images
VideoExportOptions Options for exporting video
AudioExportOptions Options for exporting audio
RGBAColor RGBA color representation
CMYKColor CMYK color representation. Field shape matches @cesdk/engine (WASM): tint is required so the same Color value works against both bindings.
SpotColor Spot color representation. Field shape matches @cesdk/engine (WASM) so the same Color union is interchangeable across both bindings.
ColorInternal Internal color format from the native engine
Source Source for image/video content
Buffer A block of engine-managed buffer data. Matches @cesdk/engine’s Buffer.
TransientResource A transient (in-engine) resource that would be lost during export — typically a buffer:// URI from an importer. Field name is URL to match @cesdk/node.
BlockStateEngineError The catalog error behind a block’s error state: an Error with the fields of a thrown engine error. @cesdk/engine gives an EngineError, @cesdk/node an Error that carries these fields.
BlockStateError Error state of a design block. The error field names the failure.
BlockStatePending Pending state of a design block, with progress in [0, 1].
BlockStateReady Ready state of a design block.
TextFontUsageRun A contiguous rendered-text range with the same fonts and effective size.
TextFontUsage The current shaping snapshot of a text block.
CharacterInkBox Tight ink-paint bounding box of a single grapheme, in global scene coordinates. Returned by block.getTextCharacterInkBoxes. The baseline Y is reported separately because it does not equal y + height (the box is the tight ink rect; the baseline anchors glyph descenders).
TextOvershoot Glyph ink beyond each edge of the local text frame, in scene design units.
TextLayoutDiagnostics Planar text layout, including lines hidden by the text frame.
TextRenderDiagnostics Current font usage and layout diagnostics for a text block.
FileSupportUse Native runtime support for one way of using a media file.
FileSupport Native media support, separate from host-provided editable document importers.
Range Range of indices
Insets Insets/padding values
Typeface Typeface definition
Font Individual font within a typeface. Field optionality matches @cesdk/engine (WASM) — fields not present in the engine response are simply omitted rather than empty strings.
FontRequest A font identity resolved through registered typeface sources or a host provider.
FontResolverResult A concrete font selected for a font request.
VariationAxis A variation axis of a variable font, read from its fvar table.
FontInfo The identity of a font file: its names, weight, style, variation axes and OpenType features. A variable font is described by its default instance.
OpenTypeFeature An OpenType feature setting for a text range, such as tnum for tabular figures.
VariationAxisValue A value for one variation axis of a variable font, such as wdth or opsz.
GradientColorStop Gradient color stop
AssetRGBColor Asset color payload, RGB representation.
AssetCMYKColor Asset color payload, CMYK representation.
AssetSpotColor Asset color payload, spot-color representation.
AssetFixedAspectRatio Asset transform preset — fixed aspect ratio.
AssetFreeAspectRatio Asset transform preset — free aspect ratio.
AssetContentAspectRatio Asset transform preset — snap to the intrinsic content aspect ratio.
AssetFixedSize Asset transform preset — fixed size in design units.
AssetPayload Structured asset payload.
Asset Generic asset information.
AssetsQuery Query for searching assets. Field shape mirrors @cesdk/engine’s AssetQueryData so a single query object is interchangeable across bindings. page and perPage are required by WASM but kept optional here so simpler callers (e.g., native shared tests) can omit them; the binding layers fall back to defaults.
AssetFacetValue One bucket of a facet distribution.
AssetsQueryResult Result of an assets query. Generic over the result element type so a binding can refine the surface (WASM returns CompleteAssetResult). nextPage is optional — bindings that paginate finitely return undefined when there’s no next page.
AssetSourceLicense Asset source license information
AssetSourceCredits Asset source credits information
SceneMarker A named point or span on the scene timeline. Times are in seconds.
AudioTrackInfo Audio track information
BlockMatte A block that masks another block, and the channel it masks with.
PathVertex One vertex of a keyframed bezier path. The tangents are relative to point.
BlockEvent Subscription payload delivered to engine.event.subscribe callbacks. Field shape matches @cesdk/engine (WASM) so subscribers can be written once and run against either binding.
AssetStringProperty Asset property types for dynamic asset configuration
AssetNumberProperty Asset number property definition
AssetBooleanProperty Asset boolean property definition
AssetEnumProperty Asset enum property definition
AssetColorProperty Asset color property definition
AssetResult Single asset returned from findAssets. Field shape mirrors @cesdk/engine (WASM) so a single result is interchangeable across bindings. label and tags here are flat strings (already resolved to locale); compare to AssetDefinition where they are localized maps.
CompleteAssetResult Complete asset result with context information
AssetDefinition Asset definition supplied to addAsset. Distinct from AssetResult: label and tags here are localized maps (Locale -> value) so a single definition can serve every supported locale.
AssetSource A source of assets that can be registered with the engine. Allows custom asset sources with callbacks for querying and applying assets.
RGBColor RGB color (no alpha). Mirrors @cesdk/engine’s bindings/wasm/js_web/src/types/color.ts.
Vec2 -
Vec3 -
Size2 -
TrackingMetadata Per-export tracking metadata sent to the engine’s tracking pipeline.
PageDuration Single page’s timing window. Mirrors @cesdk/engine’s bindings/wasm/js_web/src/types/Pageduration.ts.
VariableOptions Selects the layer that a variable call reads or writes. Mirrors @cesdk/node’s bindings/wasm/js_web/src/types/variable.ts.
DominantColor Dominant color sample returned from block.getDominantColors.
DominantColorsOptions Options for block.getDominantColors. Mirrors @cesdk/node.
SplitOptions Options for block.split. Mirrors @cesdk/engine’s SplitOptions.
MovePageSliceOptions Options for block.movePageSliceIntoPage and block.movePageSliceOutOfPage. Mirrors @cesdk/engine’s MovePageSliceOptions.
TextFontSizeOptions Options for block.setTextFontSize (new overload). Mirrors @cesdk/engine’s TextFontSizeOptions.
AnimationEntry Animation entry on applyAnimation’s options object.
AnimationOptions Options for block.applyAnimation.
DropShadowOptions Options for block.applyDropShadow.
AddImageOptions Options for block.addImage.
AddVideoOptions Options for block.addVideo.
AudioFromVideoOptions Options for block.getAudioInfoFromVideo / block.createAudiosFromVideo.
AssetPlacement Where the block created from an asset is placed.
DefaultApplyAssetOptions Options for asset.defaultApplyAsset.
ApplyAssetOptions Options for block.applyAsset. Mirrors @cesdk/engine’s bindings/wasm/js_web/src/AssetAPI.ts.
TypefaceDefinition Typeface migration entry shipped on the deprecated Configuration.presets.typefaces field. Mirrors @cesdk/engine’s bindings/wasm/js_web/src/configuration/types.ts.
FontMetrics Font metrics extracted from a font file. Values are in the font’s design units coordinate space.
ProfileSlot One document profile, selected by role and component space.
DocumentColorProfileInfo What the document stores about a color profile that was assigned to it.
CMYKProfileInfo What the document stores about a CMYK profile that was assigned to it.
ImportedImageMaskInput Packed stencil samples or a grayscale JPEG mask. Supply exactly one byte representation.
ImportedImageMaskInfo Metadata returned for a PDF image mask.
ImportedImageDefinitionInput The color definition found beside an imported JPEG’s bytes.
ImportedImageDefinitionInfo The definition attached to an image fill.
CompressionOptions Compression settings for a serialized scene.
SaveToArchiveOptions Options for engine.scene.saveToArchive.
TextDecorationConfig Configuration for text decoration rendering.
TextRunInfo A styled run of text within a text block, returned by block.getTextRuns. Matches @cesdk/engine’s TextRunInfo.
ThumbnailFrame A raw RGBA video-thumbnail frame. Node has no ImageData, so this is the equivalent returned by block.generateVideoThumbnailSequence. It has the fields of ImageData, so a callback typed with ImageData accepts it.
Settings Map of all available settings with their types. This provides type-safe access to all editor settings.
AssetStylePresetAnimation An animation slot of an AssetStylePreset (inAnimation, outAnimation or loopAnimation).
AssetStylePreset A declarative style preset the engine applies to text and caption blocks. The engine parses and applies it identically on every platform. Lives in AssetPayload.stylePreset.
EngineActionInfo Info about a registered action, from EngineActions.list.
AssetDropPayload Where a dragged asset was released on the canvas. The payload of the asset.drop action.
EngineActionsRegistry The typed action ids. The engine types the actions it implements here. Augment via declare module '@cesdk/engine' to type your own ids and get autocomplete on register/run, while custom string ids stay allowed.
TerminalCanvasOptions -
EnginePluginContext Represents the context for an engine plugin.
EnginePlugin Represents an engine plugin.

Namespaces#

Namespace Description
CreativeEngine -

Variables#

Variable Description
LogLevel Provides a set of predefined log levels for the Creative Editor SDK.
DESIGN_BLOCK_TYPES The shorthand block type IDs for the top-level design blocks. These are the IDs used to create new blocks via engine.block.create(id).
SHAPE_TYPES -
FILL_TYPES -
EFFECT_TYPES -
MODIFIER_TYPES The shorthand block type IDs for the modifier blocks. These are the IDs used to create new modifiers using cesdk.engine.block.createModifier(id).
BLUR_TYPES -
ANIMATION_TYPES -
TRANSITION_TYPES The shorthand block type IDs for the transition blocks. These are the IDs used to create new transitions using cesdk.engine.block.createTransition(id).
VideoCodec Codec for a video export. Mirrors ubq::VideoCodec, so entries are appended, never reordered.
AudioCodec Codec for the audio of a video export, or of an 'audio/mp4' or 'audio/webm' export. Mirrors ubq::AudioCodec, so entries are appended, never reordered.
MimeType -
BlendModeValues -
HorizontalContentFillAlignmentValues -
ContentFillModeValues -
VerticalContentFillAlignmentValues -
HeightModeValues -
PositionXModeValues -
PositionYModeValues -
SceneAngleUnitValues -
SceneColorConversionModeValues -
SceneDesignUnitValues -
SceneFontSizeUnitValues -
SceneLayoutValues -
SceneModeValues -
WidthModeValues -
LayoutAlignCounterValues -
LayoutAlignPrimaryValues -
LayoutModeValues -
LayoutScaleContentValues -
PageGuidesSourceValues -
PagePageSliceAxisValues -
StrokeCapValues -
StrokeCornerGeometryValues -
StrokeDashEndCapValues -
StrokeDashStartCapValues -
StrokeEndCapValues -
StrokePositionValues -
StrokeStartCapValues -
StrokeStyleValues -
LayoutChildHeightSizingValues -
LayoutChildHorizontalConstraintValues -
LayoutChildVerticalConstraintValues -
LayoutChildWidthSizingValues -
PlaybackFadeInEasingValues -
PlaybackFadeOutEasingValues -
TextHorizontalAlignmentValues -
TextVerticalAlignmentValues -
CutoutTypeValues -
CaptionHorizontalAlignmentValues -
CaptionVerticalAlignmentValues -
AnimationEasingValues -
TextAnimationWritingStyleValues -
AnimationGrowDirectionValues -
AnimationWipeDirectionValues -
AnimationBaselineDirectionValues -
AnimationSpinDirectionValues -
AnimationSpinLoopDirectionValues -
AnimationJumpLoopDirectionValues -
AnimationTypewriterTextWritingStyleValues -
AnimationBlockSwipeTextDirectionValues -
AnimationMergeTextDirectionValues -
AnimationKenBurnsDirectionValues -
TransitionCrossSpinDirectionValues -
TransitionPushDirectionValues -
TransitionSlideDirectionValues -
TransitionStackDirectionValues -
TransitionSpliceDirectionValues -
TransitionDiagonalSpliceDirectionValues -
TransitionColorWipeDirectionValues -
TransitionWipeDirectionValues -
TransitionChopCornerValues -
TransitionChopDirectionValues -
TransitionGradientFadeDirectionValues -
TransitionTwoStripesDirectionValues -
BlurUniformModeValues -
ModifierTrimModeValues -
ModifierRepeaterCompositeValues -
ModifierOffsetJoinValues -
ModifierZigzagPointTypeValues -
EffectDisplacementMapHorizontalChannelValues -
EffectDisplacementMapMapBehaviorValues -
EffectDisplacementMapVerticalChannelValues -
EffectInvertChannelValues -
EffectRadialWipeDirectionValues -
EffectShiftChannelsTakeAlphaFromValues -
EffectShiftChannelsTakeBlueFromValues -
EffectShiftChannelsTakeGreenFromValues -
EffectShiftChannelsTakeRedFromValues -
EffectStrokePaintStyleValues -
EffectWaveWarpWaveTypeValues -
FillPixelStreamOrientationValues -
ShapeVectorPathFillRuleValues -
ShapeCompoundFillRuleValues -
ShapeCompoundModeValues -
MaskModeValues -
TextAnimatorSelectorBasedOnValues -
TextAnimatorSelectorShapeValues -
TextAnimatorSelectorUnitsValues -
ClipInitialDurationModeValues -
TouchPinchActionValues -
TouchRotateActionValues -
CameraClampingOvershootModeValues -
ControlGizmoMoveHandleVisibilityValues -
ControlGizmoResizeHandlesVisibilityValues -
ControlGizmoScaleHandlesVisibilityValues -
ControlGizmoRotateHandlesVisibilityValues -
DoubleClickSelectionModeValues -
ColorPickerColorModeValues -
TimelineTrackVisibilityValues -