| پراپ | قسم | ضروری | مثال | قدر کی حد | تفصیل |
|---|---|---|---|---|---|
| cues | array | true | - | - | کیue آبجیکٹس کا ایک آرے جو متن کے مواد، اوقات، اور متعلقہ میٹا ڈیٹا کی نمائندگی کرتا ہے۔ |
| textStyle | object | true | - | - | The base text style applied to the caption, including font, color, shadow, and stroke settings. Contains the same properties as the Text element's textStyle object. |
| letterCase | string | true | - | uppercase, lowercase, Title Case, none | کیپشن متن کے لیے حرفی کیس کی تبدیلی۔ |
| align | string | true | - | left, center, right, justify | کیپشن کی متن کی ترتیب۔ |
| bgColor | string | true | - | - | کیپشن کے لیے پس منظر کا رنگ۔ |
| bgAlpha | number | true | - | 0 - 1 | کیپشن پس منظر کی شفافیت کی سطح۔ 1 مکمل اوپیسٹی کی نمائندگی کرتا ہے، اور 0 مکمل شفافیت کی نمائندگی کرتا ہے۔ |
| bgRadius | number | true | - | - | کیپشن پس منظر کا کونے کا رداس، پکسلز میں۔ |
| focus | object | false | - | - | زور دیا گیا/زور دار متن کے لیے اختیاری تشکیل، بشمول طرز، پس منظر، اور حرکت پذیری کی ترتیبات۔ |
| inTween | object | false | - | - | کیپشن کے ظاہر ہونے پر لاگو کی جانے والی ٹوئین حرکت پذیری۔ |
| outTween | object | false | - | - | کیپشن کے غائب ہونے پر لاگو کی جانے والی ٹوئین حرکت پذیری۔ |
| displayMode | string | true | - | - | کیپشن کی دکھائی دینے والی حالت، جیسے "مکمل جملہ" یا "لفظ بہ لفظ"۔ |
| lineNum | number | true | - | - | کیپشن کو جومیں تقسیم کیا گیا ہے اس کی لائنوں کی تعداد۔ |
| lineMaxWordNum | number | true | - | - | کیپشن میں ہر لائن کے لیے زیادہ سے زیادہ الفاظ کی تعداد۔ |
focus آبجیکٹ میں کیپشن کے اندر زور دیا گیا یا توجہ دیا گیا متن کے لیے ترتیبات شامل ہیں۔ تمام خصوصیات اختیاری ہیں۔
| پراپ | قسم | ضروری | مثال | قدر کی حد | تفصیل |
|---|---|---|---|---|---|
| style | object | false | - | - | The text style applied to focused text. Contains the same properties as the Text element's textStyle object. |
| bgColor | string | false | - | - | زور دیا گیا متن کے لیے پس منظر کا رنگ۔ |
| bgAlpha | number | false | - | 0 - 1 | زور دیا گیا متن کے پس منظر کی شفافیت کی سطح۔ 1 مکمل اوپیسٹی کی نمائندگی کرتا ہے، اور 0 مکمل شفافیت کی نمائندگی کرتا ہے۔ |
| bgRadius | number | false | - | - | زور دیا گیا متن کے پس منظر کا کونے کا رداس، پکسلز میں۔ |
| inTween | object | false | - | - | زور دیا گیا متن کے ظاہر ہونے پر لاگو کی جانے والی ٹوئین حرکت پذیری۔ |
| outTween | object | false | - | - | زور دیا گیا متن کے غائب ہونے پر لاگو کی جانے والی ٹوئین حرکت پذیری۔ |
| letterCase | string | false | - | uppercase, lowercase, Title Case, none | زور دیا گیا متن کے لیے حرفی کیس کی تبدیلی۔ |
| پراپ | قسم | ضروری | مثال | قدر کی حد | تفصیل |
|---|---|---|---|---|---|
| id | string | true | - | - | اشارہ کے لیے ایک منفرد شناخت کنندہ۔ |
| start | number | true | - | - | اشارہ کا آغاز وقت، سیکنڈز میں۔ |
| end | number | true | - | - | اشارہ کا اختتام وقت، سیکنڈز میں۔ |
| content | string | true | - | - | اشارہ کے متن کا مواد۔ |
نوٹ:
cuesآرے میں کم از کم ایک اشارہ آبجیکٹ ہونا ضروری ہے۔textStyleآبجیکٹ اورfocus.styleآبجیکٹ (اگر فراہم کی گئی ہو) میں ٹیکسٹ عنصر کےtextStyleآبجیکٹ کی طرح کی خصوصیات شامل ہیں، بشمول fontFamily، fontSize، fill (color)، align، lineHeight، letterSpacing، wordSpacing، fontWeight، fontStyle، textShadow، underline، strikethrough، isBold، isItalic، shadowEnabled، shadowColor، shadowBlur، shadowAlpha، shadowAngle، shadowDistance، stroke، اور strokeWidth۔
{
"id": "057c61ba-3365-4624-856f-992e1b8a419a",
"type": "Caption",
"start": 1,
"duration": 9,
"trackIndex": 0,
"x": 0,
"y": 470,
"blendMode": "normal",
"anchorX": 0,
"anchorY": 0,
"rotation": 0,
"scaleX": 1,
"scaleY": 1,
"alpha": 1,
"skewX": 0,
"skewY": 0,
"keyframes": [],
"cues": [
{
"start": 1,
"end": 4,
"content": "Winters come after Autumn.",
"id": "dc0719f3-12c3-4e44-b127-e4f0b2ba4574"
},
{
"start": 5,
"end": 10,
"content": "Often the weather goes too cold in winter.\nYou should cover yourself with warm clothes.",
"id": "7f243bd6-1283-4957-b8b0-9488eec46f40"
}
],
"textStyle": {
"fill": "#ffffff",
"fontSize": 28,
"fontFamily": "Arial",
"align": "left",
"lineHeight": 0,
"letterSpacing": 0,
"isBold": true,
"isItalic": false,
"shadowEnabled": true,
"shadowColor": "#000000",
"shadowBlur": 4,
"shadowAlpha": 0.75,
"shadowAngle": 1.2,
"shadowDistance": 3,
"stroke": "#000000",
"strokeWidth": 2
},
"letterCase": "Title Case",
"align": "center",
"bgColor": "#a3e635",
"bgAlpha": 0,
"bgRadius": 10,
"focus": {
"style": {
"fill": "#f2c9ff",
"fontSize": 28,
"fontFamily": "Arial",
"align": "left",
"lineHeight": 0,
"letterSpacing": 0,
"isBold": true,
"isItalic": false,
"shadowEnabled": false,
"shadowColor": "",
"shadowBlur": 0,
"shadowAlpha": 1,
"shadowAngle": 0,
"shadowDistance": 0,
"stroke": "#000000",
"strokeWidth": 2
},
"bgColor": "#dd38f4",
"bgAlpha": 1,
"bgRadius": 10,
"inTween": {
"name": "Fade In",
"duration": 1,
"from": { "alpha": 0 },
"to": { "alpha": 1 },
"cp1": { "x": 0, "y": 0 },
"cp2": { "x": 1, "y": 1 }
},
"letterCase": "Title Case"
},
"inTween": {
"name": "Fade In",
"duration": 1,
"from": { "alpha": 0 },
"to": { "alpha": 1 },
"cp1": { "x": 0, "y": 0 },
"cp2": { "x": 1, "y": 1 }
},
"displayMode": "Full Sentence",
"lineNum": 2,
"lineMaxWordNum": 10
}