Packed package truth
API Reference
Generated from apexify.js@6.0.0 declarations and export maps at package commit db96446ef51e.
Public exports
ADSR envelope (seconds + sustain level 0–1). Stages are proportionally fitted when A+D+R exceeds the layer duration.
AlignModetype · type-onlyPublished type export AlignMode.
ApexifyAssetErrorclass · runtime/typePublished class export ApexifyAssetError.
ApexifyConfigErrorclass · runtime/typePublished class export ApexifyConfigError.
ApexifyDecodeErrorclass · runtime/typePublished class export ApexifyDecodeError.
ApexifyErrorclass · runtime/typePublished class export ApexifyError.
ApexifyExternalServiceErrorclass · runtime/typePublished class export ApexifyExternalServiceError.
ApexifyInputErrorclass · runtime/typePublished class export ApexifyInputError.
ApexifyPlugininterface · type-onlyInstall hook for optional features without growing the core {@link ApexPainter } class. Installation may be synchronous or asynchronous. `ApexPainter.use(plugin)` always returns a Promise and must be awaited before plugin APIs are considered installed. Plugin names are unique per painter. Registrations made through `painter.plugins` during a failed installation are rolled back.
ApexifyPluginErrorclass · runtime/typePublished class export ApexifyPluginError.
ApexifyProcessErrorclass · runtime/typePublished class export ApexifyProcessError.
ApexifyRemoteFetchErrorclass · runtime/typePublished class export ApexifyRemoteFetchError.
ApexifyResourceLimitErrorclass · runtime/typePublished class export ApexifyResourceLimitError.
ApexifyRuntimeConfiginterface · type-onlyPublished interface export ApexifyRuntimeConfig.
ApexifyRuntimeConfigInputtype · type-onlyPublished type export ApexifyRuntimeConfigInput.
ApexPainterclass · runtime/typePrimary server-side rendering and media façade for the current Apexify.js package.
AssetKindtype · type-onlyPublished type export AssetKind.
AssetRegistrationInfointerface · type-onlyPublished interface export AssetRegistrationInfo.
AssetResolveFntype · type-onlyPublished type export AssetResolveFn.
AssetScalartype · type-onlyPublished type export AssetScalar.
AssetValuetype · type-onlyPublished type export AssetValue.
AudioSeedtype · type-onlyProcedural audio synthesis — oscillators, noise, envelopes, presets, sequencing, composition, and PCM16 WAV I/O.
AvatarToLayersOptionsinterface · type-onlyPublished interface export AvatarToLayersOptions.
BackgroundImageAligntype · type-onlyAlignment for {@link BackgroundLayer} image `contain` / `cover` (same as `customBg.align`).
BackgroundLayertype · type-onlyPublished type export BackgroundLayer.
BackgroundPatternRepeattype · type-onlyRepeat mode for tiled image patterns in {@link BackgroundLayer}.
BadgeToLayersOptionsinterface · type-onlyPublished interface export BadgeToLayersOptions.
BaseRegioninterface · type-onlyPublished interface export BaseRegion.
BatchChainAssetOptsinterface · type-onlyBatch/chain execution policy. Results preserve input order; failures are fail-fast.
BatchChainPainterinterface · type-onlyMinimal painter surface for batch / chain helpers.
BatchOperationtype · type-onlyPublished type export BatchOperation.
BlendOptionsinterface · type-onlyPublished interface export BlendOptions.
borderPositiontype · type-onlyPublished type export borderPosition.
BoxBackgroundinterface · type-onlyPublished interface export BoxBackground.
CacheRuntimeConfiginterface · type-onlyPublished interface export CacheRuntimeConfig.
CanvasConfiginterface · type-onlyPublished interface export CanvasConfig.
CanvasCustomBackgroundinterface · type-onlyPublished interface export CanvasCustomBackground.
CanvasImageBackgroundOptionsinterface · type-onlyPlacement/effect contract shared by still-image canvas backgrounds. `videoBg` uses these options after its selected video frame has been extracted to a raster image, keeping its public video selection API distinct while sharing the same image rendering semantics as `customBg`.
CanvasResultsinterface · type-onlyResult of {@link ApexPainter.createCanvas } — buffer + config for follow-up draws.
CanvasVideoBackgroundinterface · type-onlyPublished interface export CanvasVideoBackground.
CardToLayersOptionsinterface · type-onlyPublished interface export CardToLayersOptions.
ChainOperationinterface · type-onlyPublished interface export ChainOperation.
ChartAppearanceExtendedinterface · type-onlyChart `appearance` background options aligned with {@link CanvasConfig} / chart renderers.
ChartDatatype · type-onlyPublished type export ChartData.
ChartOptionstype · type-onlyPublished type export ChartOptions.
ChartTypetype · type-onlyDiscriminated chart kind for `ChartCreator.createChart`. Combo / comparison use dedicated methods.
CircleRegioninterface · type-onlyPublished interface export CircleRegion.
CircularArcLayoutOptionsinterface · type-onlyPublished interface export CircularArcLayoutOptions.
CollageLayoutinterface · type-onlyPublished interface export CollageLayout.
CompressionOptionsinterface · type-onlyPublished interface export CompressionOptions.
configureApexifyRuntimefunction · runtime/typeBackward-compatible process-wide configuration merge.
ConnectedLegendConfiginterface · type-onlyPublished interface export ConnectedLegendConfig.
Coordinateinterface · type-onlyPublished interface export Coordinate.
CreateImageOptionsinterface · type-onlyPublished interface export CreateImageOptions.
cropCoordinateinterface · type-onlyPublished interface export cropCoordinate.
cropOptionsinterface · type-onlyPublished interface export cropOptions.
CropOptionsinterface · type-onlyPublished interface export CropOptions.
CurvedTextLayoutModetype · type-onlyHow measured line width **W**, user **radius**, and **sweep** (radians) are reconciled on a circle. - **fit** — `R = W / θ`. Arc length equals typographic width; `radius` is ignored for geometry. - **clamp** (default) — `R = max(radius ?? R_fit, R_fit)` so the arc is never shorter than the text. - **override** — `R = radius ?? R_fit`. If `R·θ < W`, **θ is expanded** to `W/R` so the string still fits without crowding (user sweep becomes a minimum when the arc is too tight).
CustomOptionsinterface · type-onlyPublished interface export CustomOptions.
CustomRegioninterface · type-onlyPublished interface export CustomRegion.
DEFAULT_APEXIFY_RUNTIME_CONFIGconstant · runtime/typePublished constant export DEFAULT_APEXIFY_RUNTIME_CONFIG.
DiagnosticsEventinterface · type-onlyPublished interface export DiagnosticsEvent.
DiagnosticsHandlertype · type-onlyPublished type export DiagnosticsHandler.
DiagnosticsRuntimeConfiginterface · type-onlyPublished interface export DiagnosticsRuntimeConfig.
EllipseRegioninterface · type-onlyPublished interface export EllipseRegion.
EnhancedTextStyleinterface · type-onlyPublished interface export EnhancedTextStyle.
ExtractFramesOptionsinterface · type-onlyPublished interface export ExtractFramesOptions.
FilterOptionsinterface · type-onlyPublished interface export FilterOptions.
FilterTypetype · type-onlyPublished type export FilterType.
FitModetype · type-onlyPublished type export FitMode.
Frameinterface · type-onlyPublished interface export Frame.
getDefaultApexifyRuntimeConfigfunction · runtime/typePublished function export getDefaultApexifyRuntimeConfig.
GIFAttachmentinterface · type-onlyPublished interface export GIFAttachment.
GIFDisposalMethodtype · type-onlyPublished type export GIFDisposalMethod.
GIFEncodedFrameinterface · type-onlyPublished interface export GIFEncodedFrame.
GIFFrameSourcetype · type-onlyPublished type export GIFFrameSource.
GIFInputFrameinterface · type-onlyPublished interface export GIFInputFrame.
GIFOptionsinterface · type-onlyPublished interface export GIFOptions.
GIFOutputFormattype · type-onlyPublished type export GIFOutputFormat.
GIFResultsinterface · type-onlyPublished interface export GIFResults.
GIFTextOverlaySpectype · type-onlyStatic text overlay. It uses the same renderer as `createText`; x/y default to 10/30.
GIFWatermarkPositiontype · type-onlyPublished type export GIFWatermarkPosition.
GIFWatermarkSpecinterface · type-onlyWatermark image applied after the frame raster and before GIF encoding.
GlyphArcPlacementinterface · type-onlyPublished interface export GlyphArcPlacement.
gradienttype · type-onlyPublished type export gradient.
GradientConfiginterface · type-onlyPublished interface export GradientConfig.
GradientStoptype · type-onlyPublished type export GradientStop.
GroupTransformOptionsinterface · type-onlyPublished interface export GroupTransformOptions.
HitDetectionOptionsinterface · type-onlyPublished interface export HitDetectionOptions.
HitDetectionResultinterface · type-onlyPublished interface export HitDetectionResult.
HitRegiontype · type-onlyPublished type export HitRegion.
ImageBlendLayerinterface · type-onlyOne layer for {@link blendImageLayers } / `ApexPainter.prototype.blend`.
ImageFilterinterface · type-onlyImage filter configuration interface
ImagePropertiesinterface · type-onlyPublished interface export ImageProperties.
LegendEntryinterface · type-onlyPublished interface export LegendEntry.
LegendPlacementtype · type-onlyCanonical legend positions for chart layout (aliases normalized elsewhere in chart code).
MaskOptionsinterface · type-onlyPublished interface export MaskOptions.
MixAudioOperationinterface · type-onlyPublished interface export MixAudioOperation.
MixAudioOverlayClipinterface · type-onlyPublished interface export MixAudioOverlayClip.
NetworkRuntimeConfiginterface · type-onlyPublished interface export NetworkRuntimeConfig.
OutputFormatinterface · type-onlyConfiguration option to decide the outputformate from ApexPainter
PainterAssetRefsOptionsinterface · type-onlyOpt-in **`$name`** / **`$palette.key`** resolution for imperative {@link ApexPainter } methods. Scene APIs default resolution **on**; these flags default **off** unless noted.
PainterCreateAudiointerface · type-onlyProcedural SFX: `painter.createAudio.preset('laser')`, `.synth({ layers: [...] })`, `.sequence({ events })`.
PainterHitDetectinterface · type-onlyGrouped hit-testing API: `await painter.detect.path(…)`, `.region(…)`, etc.
PainterImageUtilsinterface · type-onlyGrouped image / stitch / palette API: `await painter.image.stitchImages(…)`, `.resize`, …
PainterImgurCredentialsinterface · type-onlyPublished interface export PainterImgurCredentials.
PainterOutputinterface · type-onlyEncode / transfer finished PNG buffers: `painter.output.dataURL(buf)`, `.url(buf)`, etc.
PainterPath2Dinterface · type-onlyPath2D + custom lines: `painter.path2d.create(…)`, `.draw(…)`, `.custom(…)`.
PainterPixelsinterface · type-onlyPixel read/write: `await painter.pixels.getData(…)`, `.setData`, `.manipulate`, `.getColor`, `.setColor`.
PaletteOptionsinterface · type-onlyPublished interface export PaletteOptions.
Path2DDrawOptionsinterface · type-onlyPath2D drawing options (aligned with {@link Path2DCreator }).
PathCommandtype · type-onlyPath command types for building Path2D objects (shared by Path2DCreator and hit testing).
PathRegioninterface · type-onlyPublished interface export PathRegion.
PatternOptionsinterface · type-onlyEnhanced pattern options supporting all pattern types
PatternViewporttype · type-onlyWidth/height target for procedural patterns (no full canvas required).
PieChartOptionsinterface · type-onlyPublished interface export PieChartOptions.
PieSliceinterface · type-onlyPublished interface export PieSlice.
PixelDatainterface · type-onlyPublished interface export PixelData.
PixelManipulationOptionsinterface · type-onlyPublished interface export PixelManipulationOptions.
PlaceholderResolveContextinterface · type-onlyPublished interface export PlaceholderResolveContext.
Pointinterface · type-onlyPublished interface export Point.
PolygonRegioninterface · type-onlyPublished interface export PolygonRegion.
ProgressBarToLayersOptionsinterface · type-onlyPublished interface export ProgressBarToLayersOptions.
RectRegioninterface · type-onlyPublished interface export RectRegion.
RegionTypetype · type-onlyPublished type export RegionType.
RenderLimitsinterface · type-onlyPublished interface export RenderLimits.
RenderPatternStackOptionstype · type-onlyPublished type export RenderPatternStackOptions.
resetApexifyRuntimeConfigfunction · runtime/typePublished function export resetApexifyRuntimeConfig.
ResizeOptionsinterface · type-onlyPublished interface export ResizeOptions.
resolveApexifyRuntimeConfigfunction · runtime/typePublished function export resolveApexifyRuntimeConfig.
ResolveContextinterface · type-onlyPublished interface export ResolveContext.
resolveTextDecorationsfunction · runtime/typeMerged decorations: nested `decorations` wins for line marks and bold/italic; falls back to legacy flat fields.
resolveTextEffectsfunction · runtime/typeMerged effects: nested `effects` wins; falls back to legacy flat fields.
resolveTextFillfunction · runtime/typeMerged fill: nested `fill` wins; falls back to legacy flat fields.
resolveTextLayoutfunction · runtime/typeMerged layout: nested `layout` wins; falls back to legacy flat fields.
resolveTextPlacementfunction · runtime/typeMerged placement: nested `placement` wins; falls back to legacy flat fields.
SaveOptionsinterface · type-onlyPublished interface export SaveOptions.
SaveResultinterface · type-onlyPublished interface export SaveResult.
SceneBackgroundtype · type-onlyPublished type export SceneBackground.
SceneChartTypetype · type-onlyPublished type export SceneChartType.
SceneCreatorDepsinterface · type-onlyPublished interface export SceneCreatorDeps.
SceneGifInputFrametype · type-onlyPublished type export SceneGifInputFrame.
SceneLayertype · type-onlyOne drawable item in deterministic paint order (array index 0 is bottom, final index is top).
SceneRenderInputinterface · type-onlyPublished interface export SceneRenderInput.
SceneRenderOptionsinterface · type-onlyPublished interface export SceneRenderOptions.
SceneRenderResulttype · type-onlyPublished type export SceneRenderResult.
SceneSurfacePlacementinterface · type-onlyPublished interface export SceneSurfacePlacement.
SceneToVideoResulttype · type-onlyPublished type export SceneToVideoResult.
SceneVideoFrameSlottype · type-onlyPublished type export SceneVideoFrameSlot.
ShadowOptionsinterface · type-onlyPublished interface export ShadowOptions.
ShapePropertiesinterface · type-onlyPublished interface export ShapeProperties.
ShapeTypetype · type-onlyPublished type export ShapeType.
StandardLegendConfiginterface · type-onlyPublished interface export StandardLegendConfig.
StitchOptionsinterface · type-onlyPublished interface export StitchOptions.
StrokeOptionsinterface · type-onlyPublished interface export StrokeOptions.
SynthClipQualitytype · type-onlyTone shaping applied to a composed clip after synthesis.
SynthComposeClipinterface · type-onlyOne source placed on a timeline. Multiple clips may overlap.
SynthComposeOptionsinterface · type-onlyPublished interface export SynthComposeOptions.
SynthLayerinterface · type-onlyOne tone/noise layer in a custom sound.
SynthLayerOverridetype · type-onlyDeep layer override used by preset customization. Nested DSP objects merge with the preset layer by index.
SynthMixInputtype · type-onlyArgument to {@link PainterCreateAudio.mix } and internal `mixSynthSounds`.
SynthMixOptionsinterface · type-onlyPublished interface export SynthMixOptions.
SynthPresetInfointerface · type-onlyPublished interface export SynthPresetInfo.
SynthPresetNametype · type-onlyPublished type export SynthPresetName.
SynthPresetOverridestype · type-onlyPreset overrides. Layer entries merge by index, including nested ADSR/filter/modulation objects.
SynthSequenceEventinterface · type-onlyOne event on a timeline when using {@link SynthSequenceOptions}.
SynthSequenceOptionsinterface · type-onlyPublished interface export SynthSequenceOptions.
SynthSoundOptionsinterface · type-onlyFull custom sound definition.
TemplateDatatype · type-onlyPublished type export TemplateData.
TemplateLayerInputtype · type-onlyPublished type export TemplateLayerInput.
TemplateLayerInsertioninterface · type-onlyPublished interface export TemplateLayerInsertion.
TemplateLayerOverridestype · type-onlyPublished type export TemplateLayerOverrides.
TemplateOptionsinterface · type-onlyPublished interface export TemplateOptions.
TemplateRenderHostinterface · type-onlyPublished interface export TemplateRenderHost.
TemplateRenderOptionsinterface · type-onlyPublished interface export TemplateRenderOptions.
TemplateSceneDefinitiontype · type-onlyPublished type export TemplateSceneDefinition.
TextAlignModetype · type-onlyCanvas `textAlign` values.
TextBaselineModetype · type-onlyCanvas `textBaseline` values.
TextCurveConfiginterface · type-onlyPublished interface export TextCurveConfig.
TextDecorationsinterface · type-onlyTypographic extras: line-edge marks plus bold/italic flags (canvas font string). Prefer nested `decorations` over flat `underline` / `bold` / etc.
TextEffectsinterface · type-onlyHalo, drop shadow, and flat highlight behind text. Prefer this over top-level `glow` / `shadow` / `highlight`.
TextFillinterface · type-onlyPrimary fill paint and overall draw opacity. Prefer over top-level `color` / `gradient` / `opacity`.
TextGlowStyleinterface · type-onlyPublished interface export TextGlowStyle.
TextHighlightStyleinterface · type-onlyPublished interface export TextHighlightStyle.
TextLayoutinterface · type-onlyLine metrics, spacing, and wrap bounds. Prefer over top-level `lineHeight` / `maxWidth` / etc.
TextLineDecorationtype · type-onlyOne line-edge decoration (underline / overline / strikethrough).
TextMetricsinterface · type-onlyPublished interface export TextMetrics.
TextObjectinterface · type-onlyPublished interface export TextObject.
TextPlacementinterface · type-onlyAnchor, baseline, and rotation around `(x, y)`. Prefer over top-level `textAlign` / `rotation` / etc.
TextPropertiesinterface · type-onlyPublished interface export TextProperties.
TextShadowStyleinterface · type-onlyPublished interface export TextShadowStyle.
TextStrokeStyleinterface · type-onlyOutline drawn around glyph strokes (distinct from {@link TextLineDecoration}).
TremoloOptionsinterface · type-onlyPublished interface export TremoloOptions.
VibratoOptionsinterface · type-onlyPublished interface export VibratoOptions.
VideoAudioPolicytype · type-onlyPublished type export VideoAudioPolicy.
VideoCreationOptionsinterface · type-onlyPublished interface export VideoCreationOptions.
VideoFittype · type-onlyPublished type export VideoFit.
VideoOperationControlsinterface · type-onlyPublished interface export VideoOperationControls.
VideoOutputFormattype · type-onlyPublished type export VideoOutputFormat.
VideoPipelineAudioLayerinterface · type-onlyPublished interface export VideoPipelineAudioLayer.
VideoPipelineAudioTracktype · type-onlyPublished type export VideoPipelineAudioTrack.
VideoPipelineLayertype · type-onlyPublished type export VideoPipelineLayer.
VideoPipelineRenderOptionsinterface · type-onlyPublished interface export VideoPipelineRenderOptions.
VideoPipelineRenderResultinterface · type-onlyPublished interface export VideoPipelineRenderResult.
VideoPipelineSnapshotinterface · type-onlyPublished interface export VideoPipelineSnapshot.
VideoPipelineSourceLayerinterface · type-onlyPublished interface export VideoPipelineSourceLayer.
VideoPipelineSpliceLayerinterface · type-onlyPublished interface export VideoPipelineSpliceLayer.
VideoPipelineTextLayerinterface · type-onlyPublished interface export VideoPipelineTextLayer.
VideoPipelineTrimLayerinterface · type-onlyPublished interface export VideoPipelineTrimLayer.
VideoProbeMetadatainterface · type-onlyTyped, normalized ffprobe metadata. Raw ffprobe JSON is intentionally not the primary public API.
VideoProbeStreaminterface · type-onlyPublished interface export VideoProbeStream.
VideoQualitytype · type-onlyPublished type export VideoQuality.
VideoSourcetype · type-onlyPublished type export VideoSource.
VideoTextOverlayClipinterface · type-onlyOne timed caption using the same styling model as **`createText`** ({@link TextProperties}).
VideoTextOverlayOperationinterface · type-onlyPublished interface export VideoTextOverlayOperation.
VideoTextOverlayStyletype · type-onlyStrip timeline fields; remainder is valid {@link TextProperties}.
VideoTextTransitioninterface · type-onlyBuilt-in or custom FFmpeg expression overrides (`t` = seconds).
VideoTextTransitionPresettype · type-onlyEnter/exit motion for a {@link VideoTextOverlayClip} on the video timeline. Maps to FFmpeg overlay / alpha expressions (eval=frame).
WatermarkToLayersOptionsinterface · type-onlyPublished interface export WatermarkToLayersOptions.
Waveformtype · type-onlyPublished type export Waveform.