This commit is contained in:
ct
2025-06-16 16:05:27 +08:00
parent d1fdeb6409
commit 9a81d90bfb
3 changed files with 508 additions and 36 deletions

View File

@@ -14,6 +14,7 @@ const sampleTimelineElements = [
y: 50,
width: 300,
height: 200,
rotation: 0,
},
{
id: '2',
@@ -30,6 +31,7 @@ const sampleTimelineElements = [
y: 100,
width: 250,
height: 150,
rotation: 0,
},
{
id: '3',
@@ -46,20 +48,22 @@ const sampleTimelineElements = [
y: 200,
width: 280,
height: 180,
rotation: 0,
},
{
id: '4',
type: 'text',
text: 'Welcome to the Timeline!',
startTime: 1,
startTime: 0,
layer: 2,
duration: 3,
duration: 4,
x: 50,
y: 600,
fontSize: 24,
fill: 'white',
stroke: 'black',
strokeWidth: 1,
rotation: 0,
},
{
id: '5',
@@ -74,6 +78,7 @@ const sampleTimelineElements = [
fill: 'yellow',
stroke: 'red',
strokeWidth: 2,
rotation: 0,
},
{
id: '6',
@@ -88,6 +93,7 @@ const sampleTimelineElements = [
y: 200,
width: 280,
height: 180,
rotation: 0,
},
];