Signature
Interface CanvasRendererPropsProperties
| Name | Signature | Description |
|---|---|---|
className? | className?: string | Additional class names applied to the generated canvas element. |
onRenderError? | (error: CanvasRendererError): void | Receives setup and worker failures that prevent canvas rendering. |
onRenderStats? | (stats: CanvasRendererStats): void | Receives worker draw timing diagnostics when provided. |
ruler? | ruler?: TimelineRulerOptions | Canvas ruler tick and label configuration. |
showClipDropFeedback? | showClipDropFeedback?: boolean | Draw cross-track clip drop feedback on the canvas layer. |
showClipLabels? | showClipLabels?: boolean | Draw text labels inside visible clips. |
showClips? | showClips?: boolean | Draw built-in clip bodies and labels on the canvas layer. |
showInOutBoundaryLines? | showInOutBoundaryLines?: boolean | Draw canvas-painted in/out boundary lines for renderer-only compositions. |
showInOutPoints? | showInOutPoints?: boolean | Draw the in/out range fill on the canvas layer. |
showKeyframes? | showKeyframes?: boolean | Draw keyframe curves and handles inside visible clips. |
showRulerLabels? | showRulerLabels?: boolean | Draw text labels on ruler ticks. |
showSnapLines? | showSnapLines?: boolean | Draw magnetic snapping guide lines on the canvas layer. |
theme? | theme?: DeepPartial<TimelineRendererTheme> | Canvas renderer theme overrides. CSS timeline variables are resolved before these overrides. |
themeKey? | themeKey?: string | number | Changes when CSS theme variables should be re-read, such as dark/light mode switches. |