1{ 2 "name": "tspan", 3 "version": [ 4 { 5 "name": "v7.0" 6 } 7 ], 8 "syscap": [ 9 "SystemCapability.ArkUI.ArkUI.Full" 10 ], 11 "description": [ 12 { 13 "name": "" 14 } 15 ], 16 "attributes": [ 17 { 18 "name": "id", 19 "required": false, 20 "description": [ 21 { 22 "name": "Unique identification of the component." 23 } 24 ], 25 "type": "string" 26 }, 27 { 28 "name": "rotate", 29 "required": false, 30 "description": [ 31 { 32 "name": "The bottom left corner of the font is the center of the rotation Angle, positive numbers clockwise, negative numbers counterclockwise" 33 } 34 ], 35 "type": "number" 36 }, 37 { 38 "name": "font-size", 39 "required": false, 40 "description": [ 41 { 42 "name": "Sets the size of the text." 43 } 44 ], 45 "type": "length" 46 }, 47 { 48 "name": "fill", 49 "required": false, 50 "description": [ 51 { 52 "name": "Font fill color." 53 } 54 ], 55 "type": "color" 56 }, 57 { 58 "name": "x", 59 "required": false, 60 "description": [ 61 { 62 "name": "Sets the x-coordinate of the upper left corner of the component." 63 } 64 ], 65 "type": "string" 66 }, 67 { 68 "name": "y", 69 "required": false, 70 "description": [ 71 { 72 "name": "Sets the Y-axis of the upper left corner of the component. Invalid as a child of TextPath." 73 } 74 ], 75 "type": "string" 76 }, 77 { 78 "name": "dy", 79 "required": false, 80 "description": [ 81 { 82 "name": "Sets the text Y-axis offset Invalid as a child of TextPath." 83 } 84 ], 85 "type": "string" 86 }, 87 { 88 "name": "dx", 89 "required": false, 90 "description": [ 91 { 92 "name": "Sets the text X-axis offset." 93 } 94 ], 95 "type": "string" 96 }, 97 { 98 "name": "stroke", 99 "required": false, 100 "description": [ 101 { 102 "name": "Draws the font border and specifies the color." 103 } 104 ], 105 "type": "color" 106 }, 107 { 108 "name": "opacity", 109 "required": false, 110 "description": [ 111 { 112 "name": "" 113 } 114 ], 115 "type": "number" 116 }, 117 { 118 "name": "stroke-width", 119 "required": false, 120 "description": [ 121 { 122 "name": "Font border width." 123 } 124 ], 125 "type": "number" 126 }, 127 { 128 "name": "stroke-opacity", 129 "required": false, 130 "description": [ 131 { 132 "name": "Font border transparency." 133 } 134 ], 135 "type": "number" 136 }, 137 { 138 "name": "fill-opacity", 139 "required": false, 140 "description": [ 141 { 142 "name": "Font fill transparency." 143 } 144 ], 145 "type": "number" 146 } 147 ], 148 "events": [], 149 "supportedSubComponents": true, 150 "supportedSubComponentsRestriction": [], 151 "unSupportSubComponentsRestriction": [], 152 "parentComponentsRestriction": [] 153}