Type Alias

TimelineKeyframeHitTestResult

Hit-test result for a timeline keyframe pointer target.

Signature

Type Definition
TimelineKeyframeHitTestResult: TimelineKeyframeRect<TrackKind>

Type parameters

NameConstraintDefaultDescription
TrackKindNonestringNo type parameter summary yet.

Alias

TimelineKeyframeHitTestResult aliases TimelineKeyframeRect from @techsquidtv/canvas-timeline-core.
Aliased Type Definition
Interface TimelineKeyframeRect

Keyframe entry with viewport geometry and edit/display state.

Aliased properties

NameSignatureDescription
canEditcanEdit: booleanWhether the keyframe can be edited by headless controls.
clipclip: ClipRaw timeline clip represented by this entry.
clipIndexclipIndex: numberZero-based clip index inside the containing track.
keyframekeyframe: TimelineKeyframeRaw keyframe represented by this entry.
keyframeIndexkeyframeIndex: numberZero-based keyframe index inside the containing clip.
rectrect: TimelineKeyframeViewportRectKeyframe bounds in viewport CSS pixels.
tracktrack: Track<TrackKind>Track containing the clip.
trackIndextrackIndex: numberZero-based track index in timeline order.