Skip to main content

QuickActionsPanelProps

@fovea/annotation-tool


@fovea/annotation-tool / QuickActionsPanel / QuickActionsPanelProps

Interface: QuickActionsPanelProps

Defined in: src/components/annotation/QuickActionsPanel.tsx:17

QuickActionsPanelProps

Description

Props for QuickActionsPanel component.

Properties

annotation

annotation: Annotation

Defined in: src/components/annotation/QuickActionsPanel.tsx:19

Annotation being edited


boundingBoxRect

boundingBoxRect: DOMRect

Defined in: src/components/annotation/QuickActionsPanel.tsx:23

Bounding box DOMRect for positioning


currentFrame

currentFrame: number

Defined in: src/components/annotation/QuickActionsPanel.tsx:21

Current frame number


isKeyframe

isKeyframe: boolean

Defined in: src/components/annotation/QuickActionsPanel.tsx:33

Whether current frame is a keyframe


onAddKeyframe()

onAddKeyframe: () => void

Defined in: src/components/annotation/QuickActionsPanel.tsx:25

Callback to add keyframe at current frame

Returns

void


onCopyPreviousFrame()

onCopyPreviousFrame: () => void

Defined in: src/components/annotation/QuickActionsPanel.tsx:29

Callback to copy previous frame's box

Returns

void


onDeleteKeyframe()

onDeleteKeyframe: () => void

Defined in: src/components/annotation/QuickActionsPanel.tsx:27

Callback to delete keyframe at current frame

Returns

void


onUpdateInterpolationSegment()

onUpdateInterpolationSegment: (segmentIndex, type, controlPoints?) => void

Defined in: src/components/annotation/QuickActionsPanel.tsx:31

Callback when interpolation mode is changed

Parameters

segmentIndex

number

type

InterpolationType

controlPoints?

any

Returns

void


videoWidth

videoWidth: number

Defined in: src/components/annotation/QuickActionsPanel.tsx:35

Video width for edge detection