fix text shape place

This commit is contained in:
hamid zarghami
2026-01-07 10:11:10 +03:30
parent 9479a3425b
commit 9237bf0ba4
3 changed files with 86 additions and 45 deletions
+30 -30
View File
@@ -14,7 +14,7 @@
"fontFamily": "irancell",
"fontWeight": "bold",
"fill": "#1a1a1a",
"opacity": 1
"opacity": 50
},
{
"id": "image-1",
@@ -24,7 +24,7 @@
"width": 300,
"height": 300,
"imageUrl": "https://picsum.photos/200/300",
"opacity": 1
"opacity": 100
},
{
"id": "rectangle-1",
@@ -37,7 +37,7 @@
"stroke": "#1e40af",
"strokeWidth": 2,
"shapeType": "square",
"opacity": 1
"opacity": 100
},
{
"id": "circle-1",
@@ -50,7 +50,7 @@
"stroke": "#dc2626",
"strokeWidth": 2,
"shapeType": "circle",
"opacity": 1
"opacity": 100
},
{
"id": "video-1",
@@ -60,7 +60,7 @@
"width": 400,
"height": 300,
"videoUrl": "https://loremipsum.video/vt/powerpoint-1.mp4",
"opacity": 1
"opacity": 100
}
]
},
@@ -78,7 +78,7 @@
"fontFamily": "irancell",
"fontWeight": "bold",
"fill": "#000000",
"opacity": 1
"opacity": 100
},
{
"id": "line-1",
@@ -89,7 +89,7 @@
"height": 2,
"stroke": "#64748b",
"strokeWidth": 3,
"opacity": 1
"opacity": 100
},
{
"id": "arrow-1",
@@ -100,7 +100,7 @@
"height": 100,
"stroke": "#f59e0b",
"strokeWidth": 4,
"opacity": 1
"opacity": 100
},
{
"id": "triangle-1",
@@ -113,7 +113,7 @@
"stroke": "#059669",
"strokeWidth": 2,
"shapeType": "triangle",
"opacity": 1
"opacity": 100
},
{
"id": "link-1",
@@ -126,7 +126,7 @@
"fontSize": 18,
"linkUrl": "https://example.com",
"fill": "#3b82f6",
"opacity": 1
"opacity": 100
},
{
"id": "image-2",
@@ -136,7 +136,7 @@
"width": 250,
"height": 200,
"imageUrl": "https://picsum.photos/200/300",
"opacity": 1
"opacity": 100
}
]
},
@@ -154,7 +154,7 @@
"fontFamily": "irancell",
"fontWeight": "normal",
"fill": "#1a1a1a",
"opacity": 1
"opacity": 100
},
{
"id": "grid-1",
@@ -314,7 +314,7 @@
"stroke": "#808080",
"strokeWidth": 1
},
"opacity": 1
"opacity": 100
},
{
"id": "abstract-1",
@@ -327,7 +327,7 @@
"stroke": "#7c3aed",
"strokeWidth": 2,
"shapeType": "abstract",
"opacity": 1
"opacity": 100
}
]
},
@@ -345,7 +345,7 @@
"fontFamily": "irancell",
"fontWeight": "bold",
"fill": "#1a1a1a",
"opacity": 1
"opacity": 100
},
{
"id": "video-2",
@@ -355,7 +355,7 @@
"width": 350,
"height": 250,
"videoUrl": "https://loremipsum.video/vt/powerpoint-1.mp4",
"opacity": 1
"opacity": 100
},
{
"id": "image-3",
@@ -365,7 +365,7 @@
"width": 250,
"height": 250,
"imageUrl": "https://picsum.photos/200/300",
"opacity": 1
"opacity": 100
},
{
"id": "line-2",
@@ -376,7 +376,7 @@
"height": 2,
"stroke": "#94a3b8",
"strokeWidth": 2,
"opacity": 1
"opacity": 100
},
{
"id": "arrow-2",
@@ -387,7 +387,7 @@
"height": 80,
"stroke": "#ec4899",
"strokeWidth": 5,
"opacity": 1
"opacity": 100
},
{
"id": "circle-2",
@@ -400,7 +400,7 @@
"stroke": "#d97706",
"strokeWidth": 3,
"shapeType": "circle",
"opacity": 1
"opacity": 100
}
]
},
@@ -418,7 +418,7 @@
"fontFamily": "irancell",
"fontWeight": "bold",
"fill": "#1a1a1a",
"opacity": 1
"opacity": 100
},
{
"id": "rectangle-2",
@@ -432,7 +432,7 @@
"strokeWidth": 2,
"shapeType": "square",
"rotation": 15,
"opacity": 1
"opacity": 100
},
{
"id": "triangle-2",
@@ -446,7 +446,7 @@
"strokeWidth": 2,
"shapeType": "triangle",
"rotation": 30,
"opacity": 1
"opacity": 100
},
{
"id": "abstract-2",
@@ -460,7 +460,7 @@
"strokeWidth": 2,
"shapeType": "abstract",
"rotation": -20,
"opacity": 1
"opacity": 100
},
{
"id": "image-4",
@@ -471,7 +471,7 @@
"height": 150,
"imageUrl": "https://picsum.photos/200/300",
"rotation": 10,
"opacity": 1
"opacity": 100
},
{
"id": "video-3",
@@ -481,7 +481,7 @@
"width": 300,
"height": 200,
"videoUrl": "https://loremipsum.video/vt/powerpoint-1.mp4",
"opacity": 1
"opacity": 100
},
{
"id": "link-2",
@@ -494,7 +494,7 @@
"fontSize": 20,
"linkUrl": "https://example.com",
"fill": "#6366f1",
"opacity": 1
"opacity": 100
},
{
"id": "line-3",
@@ -506,7 +506,7 @@
"stroke": "#f97316",
"strokeWidth": 4,
"rotation": 45,
"opacity": 1
"opacity": 100
},
{
"id": "arrow-3",
@@ -518,7 +518,7 @@
"stroke": "#84cc16",
"strokeWidth": 6,
"rotation": -30,
"opacity": 1
"opacity": 100
},
{
"id": "text-6",
@@ -531,7 +531,7 @@
"fontWeight": "normal",
"fill": "#475569",
"letterSpacing": 1,
"opacity": 1
"opacity": 100
}
]
}