• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Enums
2
3>**NOTE**
4>
5>The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
6
7## Color
8
9**Widget capability**: This API can be used in ArkTS widgets since API version 9.
10
11**Atomic service API**: This API can be used in atomic services since API version 11.
12
13**System capability**: SystemCapability.ArkUI.ArkUI.Full
14
15| Color                    | Value           | Illustration                                                        |
16| ------------------------ | ------------- | ------------------------------------------------------------ |
17| Black                    | 0x000000      | ![en-us_image_0000001219864153](figures/en-us_image_0000001219864153.png) |
18| Blue                     | 0x0000ff      | ![en-us_image_0000001174104404](figures/en-us_image_0000001174104404.png) |
19| Brown                    | 0xa52a2a      | ![en-us_image_0000001219744201](figures/en-us_image_0000001219744201.png) |
20| Gray                     | 0x808080      | ![en-us_image_0000001174264376](figures/en-us_image_0000001174264376.png) |
21| Grey                     | 0x808080      | ![en-us_image_0000001174264376](figures/en-us_image_0000001174264376.png) |
22| Green                    | 0x008000      | ![en-us_image_0000001174422914](figures/en-us_image_0000001174422914.png) |
23| Orange                   | 0xffa500      | ![en-us_image_0000001219662661](figures/en-us_image_0000001219662661.png) |
24| Pink                     | 0xffc0cb      | ![en-us_image_0000001219662663](figures/en-us_image_0000001219662663.png) |
25| Red                      | 0xff0000      | ![en-us_image_0000001219662665](figures/en-us_image_0000001219662665.png) |
26| White                    | 0xffffff      | ![en-us_image_0000001174582866](figures/en-us_image_0000001174582866.png) |
27| Yellow                   | 0xffff00      | ![en-us_image_0000001174582864](figures/en-us_image_0000001174582864.png) |
28| Transparent<sup>9+</sup> | rgba(0,0,0,0) | Transparent                                                      |
29
30## ImageFit
31
32**System capability**: SystemCapability.ArkUI.ArkUI.Full
33
34| Name       | Value   | Description                             |
35| --------- | ----- | ------------------------------- |
36| Contain   | 0  | The image is scaled with its aspect ratio retained for the content to be completely displayed within the display boundaries.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br>**Atomic service API**: This API can be used in atomic services since API version 11.<br>![ImageFit-Examples01](figures/image_fit_contain.png) |
37| Cover     | 1  | The image is scaled with its aspect ratio retained for both sides to be greater than or equal to the display boundaries.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br>**Atomic service API**: This API can be used in atomic services since API version 11.<br>![ImageFit-Examples02](figures/image_fit_cover.png) |
38| Auto      | 2  | The image is scaled automatically based on its own size and the size of the component to fit the display area.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br>**Atomic service API**: This API can be used in atomic services since API version 11.<br>![ImageFit-Examples03](figures/image_fit_auto.png) |
39| Fill      | 3  | The image is scaled to fill the display area, and its aspect ratio is not retained.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br>**Atomic service API**: This API can be used in atomic services since API version 11.<br>![ImageFit-Examples04](figures/image_fit_fill.png) |
40| ScaleDown | 4  | The image is displayed with its aspect ratio retained, in a size smaller than or equal to the original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br>**Atomic service API**: This API can be used in atomic services since API version 11.<br>![ImageFit-Examples05](figures/image_fit_scaleDown.png) |
41| None      | 5  | The image is displayed in its original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br>**Atomic service API**: This API can be used in atomic services since API version 11.<br>![ImageFit-Examples06](figures/image_fit_none.png) |
42| TOP_START<sup>12+</sup> | 7  | The image is displayed at the top start corner of the **Image** component, keeping its original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 12.<br>**Atomic service API**: This API can be used in atomic services since API version 12.<br>![ImageFit-Examples07](figures/image_fit_top_start.png) |
43| TOP<sup>12+</sup>       | 8  | The image is displayed horizontally centered at the top of the **Image** component, keeping its original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 12.<br>**Atomic service API**: This API can be used in atomic services since API version 12.<br>![ImageFit-Examples08](figures/image_fit_top.png)  |
44| TOP_END<sup>12+</sup>   | 9  | The image is displayed at the top end corner of the **Image** component, keeping its original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 12.<br>**Atomic service API**: This API can be used in atomic services since API version 12.<br>![ImageFit-Examples09](figures/image_fit_top_end.png) |
45| START<sup>12+</sup>     | 10  | The image is displayed vertically centered at the start of the **Image** component, keeping its original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 12.<br>**Atomic service API**: This API can be used in atomic services since API version 12.<br>![ImageFit-Examples10](figures/image_fit_start.png) |
46| CENTER<sup>12+</sup>    | 11  | The image is displayed at the center of the **Image** component both horizontally and vertically, keeping its original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 12.<br>**Atomic service API**: This API can be used in atomic services since API version 12.<br>![ImageFit-Examples11](figures/image_fit_center.png) |
47| END<sup>12+</sup>       | 12  | The image is displayed vertically centered at the end of the **Image** component, keeping its original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 12.<br>**Atomic service API**: This API can be used in atomic services since API version 12.<br>![ImageFit-Examples12](figures/image_fit_end.png) |
48| BOTTOM_START<sup>12+</sup> | 13  | The image is displayed at the bottom start corner of the **Image** component, keeping its original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 12.<br>**Atomic service API**: This API can be used in atomic services since API version 12.<br>![ImageFit-Examples13](figures/image_fit_bottom_start.png) |
49| BOTTOM<sup>12+</sup>    | 14  | The image is displayed horizontally centered at the bottom of the **Image** component, keeping its original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 12.<br>**Atomic service API**: This API can be used in atomic services since API version 12.<br>![ImageFit-Examples14](figures/image_fit_bottom.png) |
50| BOTTOM_END<sup>12+</sup>| 15  | The image is displayed at the bottom end corner of the **Image** component, keeping its original size.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 12.<br>**Atomic service API**: This API can be used in atomic services since API version 12.<br>![ImageFit-Examples15](figures/image_fit_bottom_end.png) |
51| MATRIX<sup>15+</sup>| 16  | The image, with the use of [imageMatrix](ts-basic-components-image.md#imagematrix15), is displayed in the specified position of the **Image component**, keeping its original size. SVG images are not supported.<br>**Atomic service API**: This API can be used in atomic services since API version 15.|
52
53## BorderStyle
54
55**Widget capability**: This API can be used in ArkTS widgets since API version 9.
56
57**Atomic service API**: This API can be used in atomic services since API version 11.
58
59**System capability**: SystemCapability.ArkUI.ArkUI.Full
60
61| Name    | Description                           |
62| ------ | ----------------------------- |
63| Dotted | Dotted border. The radius of a dot is half of **borderWidth**.|
64| Dashed | Dashed border.                |
65| Solid  | Solid border.                     |
66
67## LineJoinStyle
68
69**Widget capability**: This API can be used in ArkTS widgets since API version 9.
70
71**Atomic service API**: This API can be used in atomic services since API version 11.
72
73**System capability**: SystemCapability.ArkUI.ArkUI.Full
74
75| Name   | Description        |
76| ----- | ---------- |
77| Bevel | Bevel is used to connect paths.|
78| Miter | Miter is used to connect paths.|
79| Round | Round is used to connect paths.|
80
81## TouchType
82
83**Atomic service API**: This API can be used in atomic services since API version 11.
84
85**System capability**: SystemCapability.ArkUI.ArkUI.Full
86
87| Name    | Description             |
88| ------ | --------------- |
89| Down   | A finger is pressed.       |
90| Up     | A finger is lifted.       |
91| Move   | A finger moves on the screen in pressed state.|
92| Cancel | A touch event is canceled.     |
93
94## MouseButton<sup>8+</sup>
95
96**Atomic service API**: This API can be used in atomic services since API version 11.
97
98**System capability**: SystemCapability.ArkUI.ArkUI.Full
99
100| Name     | Description      |
101| ------- | -------- |
102| Left    | Left button on the mouse.   |
103| Right   | Right button on the mouse.   |
104| Middle  | Middle button on the mouse.   |
105| Back    | Back button on the left of the mouse.|
106| Forward | Forward button on the left of the mouse.|
107| None    | No button.    |
108
109## MouseAction<sup>8+</sup>
110
111**System capability**: SystemCapability.ArkUI.ArkUI.Full
112
113| Name     | Description     |
114| ------- | ------- |
115| Press   | The mouse button is pressed.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
116| Release | The mouse button is released.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
117| Move    | The mouse cursor moves.<br>**Atomic service API**: This API can be used in atomic services since API version 11.  |
118| Hover   | The mouse pointer is hovered on an element.<br>**NOTE**<br>This value has no effect.<br>**Atomic service API**: This API can be used in atomic services since API version 11.  |
119| CANCEL<sup>18+</sup>  | The mouse button action is canceled.<br>**Atomic service API**: This API can be used in atomic services since API version 18.|
120
121## ModifierKey<sup>10+</sup>
122
123Enumerates the input method modifier keys.
124
125**Atomic service API**: This API can be used in atomic services since API version 11.
126
127**System capability**: SystemCapability.ArkUI.ArkUI.Full
128
129| Name   | Description          |
130| ----- | ------------ |
131| CTRL  | Ctrl key on the keyboard. |
132| SHIFT | Shift key on the keyboard.|
133| ALT   | Alt key on the keyboard.  |
134
135## FunctionKey<sup>10+</sup>
136
137Enumerates the input method function keys.
138
139**System capability**: SystemCapability.ArkUI.ArkUI.Full
140
141| Name  | Description          |
142| ---- | ------------ |
143| ESC  | Esc key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
144| F1   | F1 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11. |
145| F2   | F2 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11. |
146| F3   | F3 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11. |
147| F4   | F4 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11. |
148| F5   | F5 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11. |
149| F6   | F6 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11. |
150| F7   | F7 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11. |
151| F8   | F8 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11. |
152| F9   | F9 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11. |
153| F10  | F10 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
154| F11  | F11 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
155| F12  | F12 key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
156| TAB<sup>12+</sup>  | Tab key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 12.|
157| DPAD_UP<sup>12+</sup>   | Up arrow key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 12.|
158| DPAD_DOWN<sup>12+</sup> | Down arrow key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 12.|
159| DPAD_LEFT<sup>12+</sup> | Left arrow key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 12.|
160| DPAD_RIGHT<sup>12+</sup> | Right arrow key on the keyboard.<br>**Atomic service API**: This API can be used in atomic services since API version 12.|
161
162## Curve
163
164Enumerates the interpolation curves. For details about the animation, see <!--RP1-->Bezier Curve<!--RP1End-->.
165
166**Widget capability**: This API can be used in ArkTS widgets since API version 9.
167
168**Atomic service API**: This API can be used in atomic services since API version 11.
169
170**System capability**: SystemCapability.ArkUI.ArkUI.Full
171
172| Name                 | Description                                      |
173| ------------------- | ---------------------------------------- |
174| Linear              | The animation speed keeps unchanged.                       |
175| Ease                | The animation starts slowly, accelerates, and then slows down towards the end. The cubic-bezier curve (0.25, 0.1, 0.25, 1.0) is used.|
176| EaseIn              | The animation starts at a low speed and then picks up speed until the end. The cubic-bezier curve (0.42, 0.0, 1.0, 1.0) is used.|
177| EaseOut             | The animation ends at a low speed. The cubic-bezier curve (0.0, 0.0, 0.58, 1.0) is used.|
178| EaseInOut           | The animation starts and ends at a low speed. The cubic-bezier curve (0.42, 0.0, 0.58, 1.0) is used.|
179| FastOutSlowIn       | The animation uses the standard cubic-bezier curve (0.4, 0.0, 0.2, 1.0).  |
180| LinearOutSlowIn     | The animation uses the deceleration cubic-bezier curve (0.0, 0.0, 0.2, 1.0).  |
181| FastOutLinearIn     | The animation uses the acceleration cubic-bezier curve (0.4, 0.0, 1.0, 1.0).  |
182| ExtremeDeceleration | The animation uses the extreme deceleration cubic-bezier curve (0.0, 0.0, 0.0, 1.0).  |
183| Sharp               | The animation uses the sharp cubic-bezier curve (0.33, 0.0, 0.67, 1.0).|
184| Rhythm              | The animation uses the rhythm cubic-bezier curve (0.7, 0.0, 0.2, 1.0).  |
185| Smooth              | The animation uses the smooth cubic-bezier curve (0.4, 0.0, 0.4, 1.0).  |
186| Friction            | The animation uses the friction cubic-bezier curve (0.2, 0.0, 0.2, 1.0).   |
187
188## AnimationStatus
189
190**Widget capability**: This API can be used in ArkTS widgets since API version 10.
191
192**Atomic service API**: This API can be used in atomic services since API version 11.
193
194**System capability**: SystemCapability.ArkUI.ArkUI.Full
195
196| Name     | Description       |
197| ------- | --------- |
198| Initial | The animation is in the initial state.  |
199| Running | The animation is being played.|
200| Paused  | The animation is paused.|
201| Stopped | The animation is stopped.|
202
203## FillMode
204
205**Widget capability**: This API can be used in ArkTS widgets since API version 10.
206
207**Atomic service API**: This API can be used in atomic services since API version 11.
208
209**System capability**: SystemCapability.ArkUI.ArkUI.Full
210
211| Name       | Description                                      |
212| --------- | ---------------------------------------- |
213| None      | Before execution, the animation does not apply any styles to the target component. After execution, the animation restores the target component to its default state.    |
214| Forwards  | The target component retains the state set by the last keyframe encountered during execution of the animation.                  |
215| Backwards | The animation applies the values defined in the first relevant keyframe once it is applied to the target component, and retains the values during the period set by **delay**. The first relevant keyframe depends on the value of **playMode**. If **playMode** is **Normal** or **Alternate**, the first relevant keyframe is in the **from** state. If **playMode** is **Reverse** or **AlternateReverse**, the first relevant keyframe is in the **to** state.|
216| Both      | The animation follows the rules for both **Forwards** and **Backwards**, extending the animation attributes in both directions.|
217
218## PlayMode
219
220**Widget capability**: This API can be used in ArkTS widgets since API version 9.
221
222**Atomic service API**: This API can be used in atomic services since API version 11.
223
224**System capability**: SystemCapability.ArkUI.ArkUI.Full
225
226| Name              | Description                                      |
227| ---------------- | ---------------------------------------- |
228| Normal           | The animation is played forwards.                                |
229| Reverse          | The animation is played backwards.                                 |
230| Alternate        | The animation is played forwards for an odd number of times (1, 3, 5...) and backwards for an even number of times (2, 4, 6...).|
231| AlternateReverse | The animation is played backwards for an odd number of times (1, 3, 5...) and forwards for an even number of times (2, 4, 6...).|
232
233## KeyType
234
235**Atomic service API**: This API can be used in atomic services since API version 11.
236
237**System capability**: SystemCapability.ArkUI.ArkUI.Full
238
239| Name  | Description   |
240| ---- | ----- |
241| Down | The key is pressed.|
242| Up   | The key is released.|
243
244## KeySource
245
246**Atomic service API**: This API can be used in atomic services since API version 11.
247
248**System capability**: SystemCapability.ArkUI.ArkUI.Full
249
250| Name      | Description        |
251| -------- | ---------- |
252| Unknown  | Unknown input device. |
253| Keyboard | The input device is a keyboard.|
254| JOYSTICK<sup>15+</sup> | The input device is a joystick.<br>**Atomic service API**: This API can be used in atomic services since API version 15.|
255
256## Edge
257
258**System capability**: SystemCapability.ArkUI.ArkUI.Full
259
260| Name                            | Description                                                        |
261| -------------------------------- | ------------------------------------------------------------ |
262| Top                              | Top edge in the vertical direction.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
263| Center<sup>(deprecated) </sup>   | Center position in the vertical direction.<br> This API is deprecated since API version 9.           |
264| Bottom                           | Bottom edge in the vertical direction.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
265| Baseline<sup>(deprecated) </sup> | Text baseline position in the cross axis direction.<br> This API is deprecated since API version 9.     |
266| Start                            | Start position in the horizontal direction.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
267| Middle<sup>(deprecated) </sup>   | Center position in the horizontal direction.<br> This API is deprecated since API version 9.           |
268| End                              | End position in the horizontal direction.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
269
270## Week
271
272**Atomic service API**: This API can be used in atomic services since API version 11.
273
274**System capability**: SystemCapability.ArkUI.ArkUI.Full
275
276| Name  | Description  |
277| ---- | ---- |
278| Mon  | Monday. |
279| Tue  | Tuesday. |
280| Wed  | Wednesday. |
281| Thur | Thursday. |
282| Fri  | Friday. |
283| Sat  | Saturday. |
284| Sun  | Sunday. |
285
286## Direction
287
288**Widget capability**: This API can be used in ArkTS widgets since API version 9.
289
290**Atomic service API**: This API can be used in atomic services since API version 11.
291
292**System capability**: SystemCapability.ArkUI.ArkUI.Full
293
294| Name  | Description         |
295| ---- | ----------- |
296| Ltr  | Components are arranged from left to right.  |
297| Rtl  | Components are arranged from right to left.  |
298| Auto | The default layout direction is used.|
299
300## BarState
301
302**Widget capability**: This API can be used in ArkTS widgets since API version 9.
303
304**Atomic service API**: This API can be used in atomic services since API version 11.
305
306**System capability**: SystemCapability.ArkUI.ArkUI.Full
307
308| Name  | Description                |
309| ---- | ------------------ |
310| Off  | Not displayed.              |
311| On   | Always displayed.             |
312| Auto | Displayed when the screen is touched and hidden after 2s.|
313
314## TitleHeight<sup>9+</sup>
315
316**Atomic service API**: This API can be used in atomic services since API version 11.
317
318**System capability**: SystemCapability.ArkUI.ArkUI.Full
319
320| Name         | Description                        |
321| ----------- | -------------------------- |
322| MainOnly    | Recommended height (56 vp) of the title bar when only the main title is available.     |
323| MainWithSub | Recommended height (82 vp) of the title bar when both the main title and subtitle exist.|
324
325## EdgeEffect
326
327**Widget capability**: This API can be used in ArkTS widgets since API version 9.
328
329**Atomic service API**: This API can be used in atomic services since API version 11.
330
331**System capability**: SystemCapability.ArkUI.ArkUI.Full
332
333| Name    | Description                                      |
334| ------ | ---------------------------------------- |
335| Spring | Spring effect. When at one of the edges, the component can move beyond the bounds through touches, and produces a bounce effect when the user releases their finger.|
336| Fade   | Fade effect. When at one of the edges, the component produces a fade effect.                    |
337| None   | No effect when the component is at one of the edges.                              |
338
339## Alignment
340
341**Widget capability**: This API can be used in ArkTS widgets since API version 9.
342
343**Atomic service API**: This API can be used in atomic services since API version 11.
344
345**System capability**: SystemCapability.ArkUI.ArkUI.Full
346
347| Name         | Description      |
348| ----------- | -------- |
349| TopStart    | Top start.  |
350| Top         | Horizontally centered on the top. |
351| TopEnd      | Top end.   |
352| Start       | Vertically centered start.|
353| Center      | Horizontally and vertically centered.|
354| End         | Vertically centered end. |
355| BottomStart | Bottom start.  |
356| Bottom      | Horizontally centered on the bottom. |
357| BottomEnd   | Bottom end.   |
358
359## TransitionType
360
361**Widget capability**: This API can be used in ArkTS widgets since API version 9.
362
363**Atomic service API**: This API can be used in atomic services since API version 11.
364
365**System capability**: SystemCapability.ArkUI.ArkUI.Full
366
367| Name    | Description                            |
368| ------ | ------------------------------ |
369| All    | The transition takes effect in all scenarios.|
370| Insert | The transition takes effect when a component is inserted or displayed.|
371| Delete | The transition takes effect when a component is deleted or hidden.|
372
373## RelateType
374
375**Atomic service API**: This API can be used in atomic services since API version 11.
376
377**System capability**: SystemCapability.ArkUI.ArkUI.Full
378
379| Name  | Description            |
380| ---- | -------------- |
381| FILL | The current child component is scaled to fill the parent component.|
382| FIT  | The current child component is scaled to adapt to the parent component.|
383
384## Visibility
385
386**Widget capability**: This API can be used in ArkTS widgets since API version 9.
387
388**Atomic service API**: This API can be used in atomic services since API version 11.
389
390**System capability**: SystemCapability.ArkUI.ArkUI.Full
391
392| Name     | Description              |
393| ------- | ---------------- |
394| Hidden  | The component is hidden, and a placeholder is used for it in the layout.   |
395| Visible | The component is visible.             |
396| None    | The component is hidden. It is not involved in the layout, and no placeholder is used for it.|
397
398## LineCapStyle
399
400**Widget capability**: This API can be used in ArkTS widgets since API version 9.
401
402**Atomic service API**: This API can be used in atomic services since API version 11.
403
404**System capability**: SystemCapability.ArkUI.ArkUI.Full
405
406| Name    | Description                           |
407| ------ | ----------------------------- |
408| Butt   | The ends of the line are squared off, and the line does not extend beyond its two endpoints.              |
409| Round  | The line is extended at the endpoints by a half circle whose diameter is equal to the line width.           |
410| Square | The line is extended at the endpoints by a rectangle whose width is equal to half the line width and height equal to the line width.|
411
412## Axis
413
414**Widget capability**: This API can be used in ArkTS widgets since API version 9.
415
416**Atomic service API**: This API can be used in atomic services since API version 11.
417
418**System capability**: SystemCapability.ArkUI.ArkUI.Full
419
420| Name        | Description    |
421| ---------- | ------ |
422| Vertical   | Vertical direction.|
423| Horizontal | Horizontal direction.|
424
425## HorizontalAlign
426
427**Widget capability**: This API can be used in ArkTS widgets since API version 9.
428
429**Atomic service API**: This API can be used in atomic services since API version 11.
430
431**System capability**: SystemCapability.ArkUI.ArkUI.Full
432
433| Name    | Description          |
434| ------ | ------------ |
435| Start  | Aligned with the start edge in the same direction as the language in use.|
436| Center | Aligned with the center. This is the default alignment mode.|
437| End    | Aligned with the end edge in the same direction as the language in use. |
438
439## FlexAlign
440
441**Widget capability**: This API can be used in ArkTS widgets since API version 9.
442
443**Atomic service API**: This API can be used in atomic services since API version 11.
444
445**System capability**: SystemCapability.ArkUI.ArkUI.Full
446
447| Name          | Description                                      |
448| ------------ | ---------------------------------------- |
449| Start        | The child components are aligned with the start edge of the main axis. The first component is aligned with the main-start, and subsequent components are aligned with the previous one.   |
450| Center       | The child components are aligned in the center of the main axis. The space between the first component and the main-start is the same as that between the last component and the main-end.  |
451| End          | The child components are aligned with the end edge of the main axis. The last component is aligned with the main-end, and other components are aligned with the next one.     |
452| SpaceBetween | The child components are evenly distributed along the main axis. The space between any two adjacent components is the same. The first component is aligned with the main-start, the last component is aligned with the main-end, and the remaining components are distributed so that the space between any two adjacent components is the same.|
453| SpaceAround  | The child components are evenly distributed along the main axis. The space between any two adjacent components is the same. The space between the first component and main-start, and that between the last component and cross-main are both half the size of the space between two adjacent components.|
454| SpaceEvenly  | The child components are evenly distributed along the main axis. The space between the first component and main-start, the space between the last component and main-end, and the space between any two adjacent components are the same.|
455
456## ItemAlign
457
458**Widget capability**: This API can be used in ArkTS widgets since API version 9.
459
460**Atomic service API**: This API can be used in atomic services since API version 11.
461
462**System capability**: SystemCapability.ArkUI.ArkUI.Full
463
464| Name      | Description                                      |
465| -------- | ---------------------------------------- |
466| Auto     | The default configuration of the flex container is used.                          |
467| Start    | The items in the flex container are aligned with the cross-start edge.                   |
468| Center   | The items in the flex container are centered along the cross axis.                   |
469| End      | The items in the flex container are aligned with the cross-end edge.                   |
470| Stretch  | The items in the flex container are stretched and padded along the cross axis. If the flex container has the **Wrap** attribute set to **FlexWrap.Wrap** or **FlexWrap.WrapReverse**, the items are stretched to the cross size of the widest element on the current row or column. In other cases, the items are stretched to the container size regardless of whether their size is set.|
471| Baseline | The items in the flex container are aligned in such a manner that their text baselines are aligned along the cross axis.                 |
472
473## FlexDirection
474
475**Widget capability**: This API can be used in ArkTS widgets since API version 9.
476
477**Atomic service API**: This API can be used in atomic services since API version 11.
478
479**System capability**: SystemCapability.ArkUI.ArkUI.Full
480
481| Name           | Description              |
482| ------------- | ---------------- |
483| Row           | The child components are arranged in the same direction as the main axis runs along the rows. |
484| RowReverse    | The child components are arranged opposite to the **Row** direction. |
485| Column        | The child components are arranged in the same direction as the main axis runs down the columns. |
486| ColumnReverse | The child components are arranged opposite to the **Column** direction.|
487
488## FlexWrap
489
490**Widget capability**: This API can be used in ArkTS widgets since API version 9.
491
492**Atomic service API**: This API can be used in atomic services since API version 11.
493
494**System capability**: SystemCapability.ArkUI.ArkUI.Full
495
496| Name         | Description                         |
497| ----------- | --------------------------- |
498| NoWrap      | The child components in the flex container are arranged in a single line. If any of them have minimum size constraints applied, the flex container does not forcibly shrink them when overflow occurs. |
499| Wrap        | The child components in the flex container are arranged in multiple lines, and they may overflow.  |
500| WrapReverse | The child components in the flex container are reversely arranged in multiple lines, and they may overflow.|
501
502## VerticalAlign
503
504**Widget capability**: This API can be used in ArkTS widgets since API version 9.
505
506**Atomic service API**: This API can be used in atomic services since API version 11.
507
508**System capability**: SystemCapability.ArkUI.ArkUI.Full
509
510| Name    | Description          |
511| ------ | ------------ |
512| Top    | Top aligned.       |
513| Center | Center aligned. This is the default alignment mode.|
514| Bottom | Bottom aligned.       |
515
516## ImageRepeat
517
518**Widget capability**: This API can be used in ArkTS widgets since API version 9.
519
520**Atomic service API**: This API can be used in atomic services since API version 11.
521
522**System capability**: SystemCapability.ArkUI.ArkUI.Full
523
524| Name      | Description           |
525| -------- | ------------- |
526| X        | The image is repeatedly drawn only along the horizontal axis.|
527| Y        | The image is repeatedly drawn only along the vertical axis.|
528| XY       | The image is repeatedly drawn along both axes. |
529| NoRepeat | The image is not repeatedly drawn.     |
530
531## ImageSize
532
533**System capability**: SystemCapability.ArkUI.ArkUI.Full
534
535| Name   | Value   | Description                                 |
536| ------- | -------------------------- | ----------------------------------- |
537| Cover   | 1  | The image is scaled with its aspect ratio retained for both sides to be greater than or equal to the display boundaries.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
538| Contain | 2  | The image is scaled with its aspect ratio retained for the content to be completely displayed within the display boundaries.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br> **Atomic service API**: This API can be used in atomic services since API version 11.     |
539| Auto    | 0  | The original image aspect ratio remains unchanged. Default value.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br> **Atomic service API**: This API can be used in atomic services since API version 11.                        |
540| FILL<sup>12+</sup> | 3  | The image is scaled to fill the display area, and its aspect ratio is not retained.<br>**Atomic service API**: This API can be used in atomic services since API version 12.|
541
542## GradientDirection
543
544**Widget capability**: This API can be used in ArkTS widgets since API version 9.
545
546**Atomic service API**: This API can be used in atomic services since API version 11.
547
548**System capability**: SystemCapability.ArkUI.ArkUI.Full
549
550| Name         | Description   |
551| ----------- | ----- |
552| Left        | The gradient direction is from right to left.|
553| Top         | The gradient direction is from bottom to top.|
554| Right       | The gradient direction is from left to right.|
555| Bottom      | The gradient direction is from top to bottom.|
556| LeftTop     | The gradient direction is upper left.  |
557| LeftBottom  | The gradient direction is lower left.  |
558| RightTop    | The gradient direction is upper right.  |
559| RightBottom | The gradient direction is lower right.  |
560| None        | No gradient.   |
561
562## SharedTransitionEffectType
563
564**Atomic service API**: This API can be used in atomic services since API version 11.
565
566**System capability**: SystemCapability.ArkUI.ArkUI.Full
567
568| Name      | Description                                      |
569| -------- | ---------------------------------------- |
570| Static   | The element position remains unchanged on the target page, and transition opacity can be configured. Currently, this effect is only valid in redirecting to the target page.|
571| Exchange | The element is relocated and scaled properly on the target page.                 |
572
573## FontStyle
574
575**Widget capability**: This API can be used in ArkTS widgets since API version 9.
576
577**Atomic service API**: This API can be used in atomic services since API version 11.
578
579**System capability**: SystemCapability.ArkUI.ArkUI.Full
580
581| Name    | Description      |
582| ------ | -------- |
583| Normal | Standard font style.|
584| Italic | Italic font style.|
585
586## FontWeight
587
588**Widget capability**: This API can be used in ArkTS widgets since API version 9.
589
590**Atomic service API**: This API can be used in atomic services since API version 11.
591
592**System capability**: SystemCapability.ArkUI.ArkUI.Full
593
594| Name   |  Value  |    Description  |
595| ------- | ----- | ----------- |
596| Lighter |  100  |   The font weight is lighter.|
597| Normal  |  400  |   The font weight is normal.|
598| Regular |  400  |   The font weight is regular.|
599| Medium  |  500  |   The font weight is medium.|
600| Bold    |  700  |   The font weight is bold.  |
601| Bolder  |  900  |   The font weight is bolder.|
602
603## TextAlign
604
605**Atomic service API**: This API can be used in atomic services since API version 11.
606
607**System capability**: SystemCapability.ArkUI.ArkUI.Full
608
609| Name                 | Description                                                        |
610| --------------------- | ------------------------------------------------------------ |
611| Start                 | Aligned with the start.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.|
612| Center                | Horizontally centered.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.|
613| End                   | Aligned with the end.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.|
614| JUSTIFY<sup>10+</sup> | Aligned with both margins.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 10.|
615
616## TextOverflow
617
618**Atomic service API**: This API can be used in atomic services since API version 11.
619
620**System capability**: SystemCapability.ArkUI.ArkUI.Full
621
622| Name                   | Description                 |
623| --------------------- | ------------------- |
624| None                  | Overflowing content is clipped at the limit of the maximum line width.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.|
625| Clip                  | Overflowing content is clipped at the limit of the maximum line width.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.|
626| Ellipsis              | An ellipsis (...) is used to represent text overflow.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.|
627| MARQUEE<sup>10+</sup> | Text continuously scrolls when text overflow occurs.|
628
629## TextDecorationType
630
631**Widget capability**: This API can be used in ArkTS widgets since API version 9.
632
633**Atomic service API**: This API can be used in atomic services since API version 11.
634
635**System capability**: SystemCapability.ArkUI.ArkUI.Full
636
637| Name         | Description       |
638| ----------- | --------- |
639| Underline   | Line under the text. |
640| LineThrough | Line through the text.|
641| Overline    | Line over the text. |
642| None        | No text decoration.|
643
644## TextCase
645
646**Widget capability**: This API can be used in ArkTS widgets since API version 9.
647
648**Atomic service API**: This API can be used in atomic services since API version 11.
649
650**System capability**: SystemCapability.ArkUI.ArkUI.Full
651
652| Name       | Description        |
653| --------- | ---------- |
654| Normal    | The original case of the text is retained.|
655| LowerCase | All letters in the text are in lowercase.  |
656| UpperCase | All letters in the text are in uppercase.  |
657
658## ResponseType<sup>8+</sup>
659
660**Atomic service API**: This API can be used in atomic services since API version 11.
661
662**System capability**: SystemCapability.ArkUI.ArkUI.Full
663
664| Name        | Description           |
665| ---------- | ------------- |
666| LongPress  | The menu is displayed when the component is long-pressed.  |
667| RightClick | The menu is displayed when the component is right-clicked.|
668
669## HoverEffect<sup>8+</sup>
670
671**Atomic service API**: This API can be used in atomic services since API version 11.
672
673**System capability**: SystemCapability.ArkUI.ArkUI.Full
674
675| Name       | Description            |
676| --------- | -------------- |
677| Auto      | Default hover effect.|
678| Scale     | Scale effect.       |
679| Highlight | Background fade-in and fade-out effect.  |
680| None      | No effect.        |
681
682## Placement<sup>8+</sup>
683
684**Atomic service API**: This API can be used in atomic services since API version 11.
685
686**System capability**: SystemCapability.ArkUI.ArkUI.Full
687
688| Name                    | Description                                                        |
689| ------------------------ | ------------------------------------------------------------ |
690| Left                     | The popup is on the left of the component, vertically aligned with the component on the left.                  |
691| Right                    | The popup is on the right of the component, vertically aligned with the component on the right.                  |
692| Top                      | The popup is at the top of the component, horizontally aligned with the component at the top.                  |
693| Bottom                   | The popup is at the bottom of the component, horizontally aligned with the component at the bottom.                  |
694| TopLeft                  | The popup is at the top of the component and, since API version 9, aligned with the left of the component.|
695| TopRight                 | The popup is at the top of the component and, since API version 9, aligned with the right of the component.|
696| BottomLeft               | The popup is at the bottom of the component and, since API version 9, aligned with the left of the component.|
697| BottomRight              | The popup is at the bottom of the component and, since API version 9, aligned with the right of the component.|
698| LeftTop<sup>9+</sup>     | The popup is on the left of the component and aligned with the top of the component.                  |
699| LeftBottom<sup>9+</sup>  | The popup is on the left of the component and aligned with the bottom of the component.                  |
700| RightTop<sup>9+</sup>    | The popup is on the right of the component and aligned with the top of the component.                  |
701| RightBottom<sup>9+</sup> | The popup is on the right of the component and aligned with the bottom of the component.                  |
702
703## CopyOptions<sup>9+</sup>
704
705**System capability**: SystemCapability.ArkUI.ArkUI.Full
706
707| Name         | Value| Description      |
708| ----------- | --- | -------- |
709| None        | 0 | Copy is not allowed.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
710| InApp       | 1 | Intra-application copy is allowed.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
711| LocalDevice | 2 | Intra-device copy is allowed.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
712| CROSS_DEVICE<sup>(deprecated)</sup> | 3 | Cross-device copy is allowed.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 11.<br>**NOTE**<br>This API is supported since API version 11 and deprecated since API version 12.|
713
714## HitTestMode<sup>9+</sup>
715
716**Atomic service API**: This API can be used in atomic services since API version 11.
717
718**System capability**: SystemCapability.ArkUI.ArkUI.Full
719
720| Name         | Description                                      |
721| ----------- | ---------------------------------------- |
722| Default     | Both the node and its child node respond to the hit test of a touch event, but its sibling node is blocked from the hit test.|
723| Block       | The node responds to the hit test of a touch event, but its child node and sibling node are blocked from the hit test.|
724| Transparent | Both the node and its child node respond to the hit test of a touch event, and its sibling node is also considered during the hit test.|
725| None        | The node does not respond to the hit test of a touch event, but its child node and sibling node are considered during the hit test.     |
726
727## DialogButtonStyle<sup>10+</sup>
728
729**System capability**: SystemCapability.ArkUI.ArkUI.Full
730
731**Atomic service API**: This API can be used in atomic services since API version 11.
732
733**System capability**: SystemCapability.ArkUI.ArkUI.Full
734
735| Name     | Value  | Description                             |
736| --------- | ---- | --------------------------------- |
737| DEFAULT   | 0    | Blue text on white background (black background under the dark theme).|
738| HIGHLIGHT | 1    | White text on blue background.                       |
739
740## TextHeightAdaptivePolicy<sup>10+</sup>
741
742**Atomic service API**: This API can be used in atomic services since API version 11.
743
744**System capability**: SystemCapability.ArkUI.ArkUI.Full
745
746| Name                     | Description                      |
747| ----------------------- | ------------------------ |
748| MAX_LINES_FIRST         | Prioritize the **maxLines** settings.|
749| MIN_FONT_SIZE_FIRST     | Prioritize the **minFontSize** settings.    |
750| LAYOUT_CONSTRAINT_FIRST | Prioritize the layout constraint settings in terms of height.|
751
752## NestedScrollMode<sup>10+</sup>
753
754**Atomic service API**: This API can be used in atomic services since API version 11.
755
756**System capability**: SystemCapability.ArkUI.ArkUI.Full
757
758| Name    | Description                            |
759| ------ | ------------------------------ |
760| SELF_ONLY   | The scrolling is contained within the component, and no scroll chaining occurs, that is, the parent component does not scroll when the component scrolling reaches the boundary. |
761| SELF_FIRST | The component scrolls first, and when it hits the boundary, the parent component scrolls. When the parent component hits the boundary, its edge effect is displayed. If no edge effect is specified for the parent component, the edge effect of the child component is displayed instead.       |
762| PARENT_FIRST  | The parent component scrolls first, and when it hits the boundary, the component scrolls. When the component hits the boundary, its edge effect is displayed. If no edge effect is specified for the component, the edge effect of the parent component is displayed instead.|
763| PARALLEL  | The component and its parent component scroll at the same time. When both the component and its parent component hit the boundary, the edge effect of the component is displayed. If no edge effect is specified for the component, the edge effect of the parent component is displayed instead.|
764
765## ObscuredReasons<sup>10+</sup>
766
767**Atomic service API**: This API can be used in atomic services since API version 11.
768
769**System capability**: SystemCapability.ArkUI.ArkUI.Full
770
771| Name       | Value| Description                    |
772| ----------- | -- | ------------------------ |
773| PLACEHOLDER | 0 |The content is replaced by a placeholder.|
774
775## ColoringStrategy<sup>10+</sup>
776
777Enumerates the coloring strategies.
778
779**System capability**: SystemCapability.ArkUI.ArkUI.Full
780
781| Name    | Value| Description             |
782| ------ | --- | --------------- |
783| INVERT | invert | The foreground colors are the inverse of the component background colors. This strategy is only applicable when set within the [foregroundColor](ts-universal-attributes-foreground-color.md#foregroundcolor) attribute.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
784| AVERAGE<sup>11+</sup> | average | The shadow colors of the component are the average color obtained from the component background shadow area. This strategy is only applicable when set within the [shadow](ts-universal-attributes-image-effect.md#shadow) attribute whose input parameter type is ShadowOptions.<br>**Atomic service API**: This API can be used in atomic services since API version 12.|
785| PRIMARY<sup>11+</sup> | primary | The shadow colors of the component are the primary color obtained from the component background shadow area. This strategy is only applicable when set within the [shadow](ts-universal-attributes-image-effect.md#shadow) attribute whose input parameter type is ShadowOptions.<br>**Atomic service API**: This API can be used in atomic services since API version 12.|
786
787## ClickEffectLevel<sup>10+</sup>
788
789**Atomic service API**: This API can be used in atomic services since API version 11.
790
791**System capability**: SystemCapability.ArkUI.ArkUI.Full
792
793| Name  | Description              | Animation Settings                         | Default Zoom Ratio                    |
794| ------ | --------------------------------- | --------------------------------- | --------------------------------- |
795| LIGHT  | Small area (light)| Spring effect, with stiffness of 410, damping of 38, and initial velocity of 1.| 90% |
796| MIDDLE | Medium area (stable)| Spring effect, with stiffness of 350, damping of 35, and initial velocity of 0.5.| 95% |
797| HEAVY  | Large area (heavy)| Spring effect, with stiffness of 240, damping of 28, and initial velocity of 0.| 95% |
798
799## CheckBoxShape<sup>11+</sup>
800
801**Widget capability**: This API can be used in ArkTS widgets since API version 11.
802
803**Atomic service API**: This API can be used in atomic services since API version 12.
804
805**System capability**: SystemCapability.ArkUI.ArkUI.Full
806
807| Name          | Value  | Description    |
808| -------------- | ---- | -------- |
809| CIRCLE         | 0    | Circle.    |
810| ROUNDED_SQUARE | 1    | Rounded square.|
811
812## FoldStatus<sup>11+</sup>
813
814**Atomic service API**: This API can be used in atomic services since API version 12.
815
816**System capability**: SystemCapability.ArkUI.ArkUI.Full
817
818| Name                     |Value| Description        |
819| ----------------------  |----| ---------- |
820| FOLD_STATUS_UNKNOWN     |0| The folding status of the device is unknown.|
821| FOLD_STATUS_EXPANDED    |1| The device is fully open.  |
822| FOLD_STATUS_FOLDED      |2| The device is folded (completely closed).  |
823| FOLD_STATUS_HALF_FOLDED |3| The device is half-folded, somewhere between fully open and completely closed.|
824
825## TextContentStyle<sup>10+</sup>
826
827**Atomic service API**: This API can be used in atomic services since API version 11.
828
829**System capability**: SystemCapability.ArkUI.ArkUI.Full
830
831| Name   | Description                                                        |
832| ------- | ------------------------------------------------------------ |
833| DEFAULT | Default style. The caret width is fixed at 1.5 vp, and the caret height is subject to the background height and font size of the selected text.|
834| INLINE  | Inline input style. The background height of the selected text is the same as the height of the text box.<br>This style is used in scenarios where editing and non-editing states are obvious, for example, renaming in the file list view.<br>The **showError** attribute is not supported for this style.<br>This style does not allow for text dragging and dropping.|
835
836
837## Nullable\<T><sup>11+</sup>
838
839type Nullable\<T> = T | undefined;
840
841The object of this type can be of a custom type or **undefined**.
842
843**Atomic service API**: This API can be used in atomic services since API version 12.
844
845**System capability**: SystemCapability.ArkUI.ArkUI.Full
846
847| Type| Description                      |
848| ---- | -------------------------- |
849| T \| undefined | The object of this type can be of a custom type or **undefined**.|
850
851## WordBreak<sup>11+</sup>
852
853**System capability**: SystemCapability.ArkUI.ArkUI.Full
854
855| Name | Value| Description                                  |
856| ----- | --- | -------------------------------------- |
857| NORMAL  | 0 | Word breaks can occur between any two characters for Chinese, Japanese, and Korean (CJK) text, but can occur only at a space character for non-CJK text (such as English).<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
858| BREAK_ALL | 1 | Line breaks can occur between any two characters for non-CJK text. CJK text behavior is the same as for **NORMAL**.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
859| BREAK_WORD | 2 | This option has the same effect as **BREAK_ALL** for non-CJK text, except that it preferentially wraps lines at appropriate characters (for example, spaces) whenever possible. CJK text behavior is the same as for **NORMAL**.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
860| HYPHENATION<sup>18+</sup> | 3 | Line breaks can occur between any two syllabic units for non-CJK text. CJK text behavior is the same as for **NORMAL**.<br>**Atomic service API**: This API can be used in atomic services since API version 18.|
861
862## LineBreakStrategy<sup>12+</sup>
863
864**Atomic service API**: This API can be used in atomic services since API version 12.
865
866**System capability**: SystemCapability.ArkUI.ArkUI.Full
867
868| Name        | Value| Description                                                        |
869| ------------ | --- | ------------------------------------------------------------ |
870| GREEDY       | 0 | Places as many words on a line as possible and moves to the next line only if no more words can fit into the same line.|
871| HIGH_QUALITY | 1 | Fills in lines as much as possible on the basis of **BALANCED**, which may results in a large blank area on the last line.|
872| BALANCED     | 2 | Balances the line length when possible without word splitting.  |
873
874## TextSelectableMode<sup>12+</sup>
875
876**Atomic service API**: This API can be used in atomic services since API version 12.
877
878**System capability**: SystemCapability.ArkUI.ArkUI.Full
879
880| Name        | Value| Description                                                        |
881| ------------ | --- | ------------------------------------------------------------ |
882| SELECTABLE_UNFOCUSABLE  | 0 | The text is selectable, but not focusable. Setting the **selection**, **bindSelectionMenu**, or **copyOption** attribute does not affect the behavior.|
883| SELECTABLE_FOCUSABLE | 1 | The text is selectable and focusable. It obtains focus when touched.|
884| UNSELECTABLE     | 2 | The text is not selectable nor focusable. The **selection**, **bindSelectionMenu**, and **copyOption** attributes do not work in this case. |
885
886## AccessibilityHoverType<sup>12+</sup>
887
888**Atomic service API**: This API can be used in atomic services since API version 12.
889
890**System capability**: SystemCapability.ArkUI.ArkUI.Full
891
892| Name        | Value| Description                                                        |
893| ------------ | - | ------------------------------------------------------------ |
894| HOVER_ENTER  | 0 | A finger is pressed.        |
895| HOVER_MOVE   | 1 | The touch moves.        |
896| HOVER_EXIT   | 2 | The finger is lifted.             |
897| HOVER_CANCEL | 3 | The current event is canceled. |
898
899## EllipsisMode<sup>11+</sup>
900
901**Atomic service API**: This API can be used in atomic services since API version 12.
902
903**System capability**: SystemCapability.ArkUI.ArkUI.Full
904
905| Name | Value| Description                                  |
906| ----- | --- | -------------------------------------- |
907| START  | 0 | An ellipsis is used at the start of the line of text.|
908| CENTER | 1 | An ellipsis is used at the center of the line of text.|
909| END | 2 | An ellipsis is used at the end of the line of text.|
910
911## ArrowPointPosition<sup>11+</sup>
912
913**Atomic service API**: This API can be used in atomic services since API version 12.
914
915**System capability**: SystemCapability.ArkUI.ArkUI.Full
916
917| Name           | Value          | Description                                    |
918| ------------- | -------------------------------------- | -------------------------------------- |
919| START | 'Start' | On the leftmost side of the parent component in the horizontal layout; on the top of the parent component in the vertical layout.|
920| CENTER | 'Center' | In the center of the parent component.|
921| END | 'End' | On the rightmost side of the parent component in the horizontal layout; at the bottom of the parent component in the vertical layout.|
922
923## OptionWidthMode<sup>11+</sup>
924
925**Atomic service API**: This API can be used in atomic services since API version 12.
926
927**System capability**: SystemCapability.ArkUI.ArkUI.Full
928
929| Name       | Value      | Description                          |
930| ----------- | ------------------------------ | ------------------------------ |
931| FIT_CONTENT | 'fit_content' | Uses the default width, that is, width of two columns.           |
932| FIT_TRIGGER | 'fit_trigger' | Inherits the width of the drop-down list button.|
933
934## PixelRoundCalcPolicy<sup>11+</sup>
935
936Enumerates the pixel rounding policies for component boundaries.
937
938**Widget capability**: This API can be used in ArkTS widgets since API version 11.
939
940**Atomic service API**: This API can be used in atomic services since API version 11.
941
942**System capability**: SystemCapability.ArkUI.ArkUI.Full
943
944| Name    |Value| Description                           |
945| ------ | ----|----------------------------- |
946| NO_FORCE_ROUND |0| The value is not rounded off.|
947| FORCE_CEIL |1| The value is rounded up to the nearest integer.|
948| FORCE_FLOOR |2| The value is rounded down to the nearest integer.|
949
950## TextDecorationStyle<sup>12+</sup>
951
952**Atomic service API**: This API can be used in atomic services since API version 12.
953
954**System capability**: SystemCapability.ArkUI.ArkUI.Full
955
956| Name         | Value| Description       |
957| ----------- | --- | --------- |
958| SOLID   | 0 | Single solid line (default value). |
959| DOUBLE | 1 | Double solid line.|
960| DOTTED    | 2 | Dotted line. |
961| DASHED        | 3 | Dashed line.|
962| WAVY        | 4 | Wavy line.|
963
964## EmbeddedType<sup>12+</sup>
965Enumerates the types of the providers that can be started by the **EmbeddedComponent**.
966
967**Atomic service API**: This API can be used in atomic services since API version 12.
968
969**System capability**: SystemCapability.ArkUI.ArkUI.Full
970
971| Name                 | Value| Description                                               |
972| --------------------- | - | ---------------------------------------------------- |
973| EMBEDDED_UI_EXTENSION | 0 | EmbeddedUIExtensionAbility.|
974
975## MarqueeUpdateStrategy<sup>12+</sup>
976
977**Atomic service API**: This API can be used in atomic services since API version 12.
978
979**System capability**: SystemCapability.ArkUI.ArkUI.Full
980
981| Name      | Value     | Description                    |
982| ---------- | ------------------------ | ------------------------ |
983| DEFAULT | 0 | After the marquee attributes are updated, the marquee scrolls from the start position.    |
984| PRESERVE_POSITION  | 1 | After the marquee attributes are updated, the marquee scrolls from the current position.|
985
986## AppRotation<sup>12+</sup>
987
988**Atomic service API**: This API can be used in atomic services since API version 12.
989
990**System capability**: SystemCapability.ArkUI.ArkUI.Full
991
992| Name    |Value| Description                           |
993| ------ |-----| ----------------------------- |
994| ROTATION_0 |0| 0 degrees.|
995| ROTATION_90 |1|90 degrees.|
996| ROTATION_180 |2| 180 degrees.|
997| ROTATION_270 |3| 270 degrees.|
998
999## ScrollSource<sup>12+</sup>
1000
1001Enumerates the sources of scroll operations.
1002
1003**Atomic service API**: This API can be used in atomic services since API version 12.
1004
1005**System capability**: SystemCapability.ArkUI.ArkUI.Full
1006
1007| Name    |  Value | Description                                      |
1008| ------ | ------ | ---------------------------------------- |
1009| DRAG   |  0  | Drag event.|
1010| FLING |  1  | Inertia scrolling after the drag ends.|
1011| EDGE_EFFECT  |  2  | Edge scrolling effect with **EdgeEffect.Spring**.|
1012| OTHER_USER_INPUT  |  3  | Other user inputs aside from dragging, such as those from the mouse wheel and keyboard events.|
1013| SCROLL_BAR  |  4  | Drag event from the scrollbar.|
1014| SCROLL_BAR_FLING  |  5  | Inertia scrolling with velocity after the scrollbar is released.|
1015| SCROLLER  |  6  | Non-animated methods of the **Scroller** object.|
1016| SCROLLER_ANIMATION  |  7  | Animated methods of the **Scroller** object.|
1017
1018## ImageSpanAlignment<sup>10+</sup>
1019
1020**Atomic service API**: This API can be used in atomic services since API version 11.
1021
1022**System capability**: SystemCapability.ArkUI.ArkUI.Full
1023
1024| Name    | Description                          |
1025| -------- | ------------------------------ |
1026| TOP      | The image is top aligned with the line.  |
1027| CENTER   | The image is centered aligned with the line.      |
1028| BOTTOM   | The image is bottom aligned with the line.  |
1029| BASELINE | The image is bottom aligned with the text baseline.|
1030
1031
1032## XComponentType<sup>10+</sup>
1033
1034**System capability**: SystemCapability.ArkUI.ArkUI.Full
1035
1036| Name                            | Description                                                        |
1037| -------------------------------- | ------------------------------------------------------------ |
1038| SURFACE                          | The component is used for EGL/OpenGLES and media data input, where the custom content is displayed individually on the screen. When the background color is set to black, the display subsystem (DSS) is used.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
1039| COMPONENT<sup>(deprecated)</sup> | The component becomes a container where non-UI logic can be executed to dynamically load the display content.<br>**NOTE**<br>This API is deprecated since API version 12. You are advised to use other container components instead.<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
1040| TEXTURE                          | The component is used for EGL/OpenGLES and media data input, where the custom content is combined with the content of the component and then displayed on the screen. 1. Frame synchronization is maintained, which ensures that the GPU textures and other ArkUI drawing commands are batched and sent to the RenderService within the same frame. 2. Animations are unified with built-in components. 3. As the GPU is used for composition, this type may consume more power compared to the surface type that uses the display subsystem (DSS).<br>**Atomic service API**: This API can be used in atomic services since API version 11.|
1041| NODE<sup>12+</sup>            | The component is used as a placeholder container for native UI nodes. Page components developed with native APIs can be displayed within this container's area.<br>**NOTE**<br>This type is no longer being evolved. You are advised to use the [ContentSlot](../../../quick-start/arkts-rendering-control-contentslot.md) placeholder component for managing components created with native APIs. **ContentSlot** is superior to the NODE-type **XComponent** in terms of memory and performance.<br>**Atomic service API**: This API can be used in atomic services since API version 12.|
1042
1043## HoverModeAreaType<sup>14+</sup>
1044
1045Enumerates the types of display areas for the hover mode.
1046
1047**Atomic service API**: This API can be used in atomic services since API version 14.
1048
1049**System capability**: SystemCapability.ArkUI.ArkUI.Full
1050
1051| Name    | Value   | Description                           |
1052| ------ | ----------------------------- | ----------------------------- |
1053| TOP_SCREEN | 0 | Upper half screen.|
1054| BOTTOM_SCREEN | 1 | Lower half screen.|
1055
1056## WidthBreakpoint<sup>13+</sup>
1057
1058Enumerates the width breakpoint values corresponding to different window width thresholds. The value is returned through [getWindowWidthBreakpoint](../js-apis-arkui-UIContext.md#getwindowwidthbreakpoint13).
1059
1060**Atomic service API**: This API can be used in atomic services since API version 13.
1061
1062**System capability**: SystemCapability.ArkUI.ArkUI.Full
1063
1064| Name    | Value  | Description                  |
1065| -------- | ---- | ---------------------- |
1066| WIDTH_XS | 0   | The window width is less than 320 vp.|
1067| WIDTH_SM | 1   | The window width is greater than or equal to 320 vp and less than 600 vp.|
1068| WIDTH_MD | 2   | The window width is greater than or equal to 600 vp and less than 840 vp.|
1069| WIDTH_LG | 3   | The window width is greater than or equal to 840 vp and less than 1440 vp.|
1070| WIDTH_XL | 4   | The window width is greater than or equal to 1440 vp.|
1071
1072## HeightBreakpoint<sup>13+</sup>
1073
1074Enumerates the height breakpoint values corresponding to different window aspect ratio thresholds. The value is returned through [getWindowHeightBreakpoint](../js-apis-arkui-UIContext.md#getwindowheightbreakpoint13).
1075
1076**Atomic service API**: This API can be used in atomic services since API version 13.
1077
1078**System capability**: SystemCapability.ArkUI.ArkUI.Full
1079
1080| Name    | Value  | Description                  |
1081| -------- | ---- | ---------------------- |
1082| HEIGHT_SM | 0   | The window aspect ratio is less than 0.8.|
1083| HEIGHT_MD | 1   | The window aspect ratio is greater than or equal to 0.8 and less than 1.2.|
1084| HEIGHT_LG | 2   | The window aspect ratio is greater than or equal to 1.2.|
1085
1086## AxisModel<sup>15+</sup>
1087
1088Enumerates the axis types for focus axis events.
1089
1090**Atomic service API**: This API can be used in atomic services since API version 15.
1091
1092**System capability**: SystemCapability.ArkUI.ArkUI.Full
1093
1094| Name   | Value  | Description                              |
1095| ------- | ---- | ---------------------------------- |
1096| ABS_X  | 0    | Game controller x-axis.|
1097| ABS_Y  | 1    | Game controller y-axis.|
1098| ABS_Z  | 2    | Game controller z-axis.|
1099| ABS_RZ | 3    | Game controller rz-axis.|
1100| ABS_GAS | 4    | Game controller GAS-axis.|
1101| ABS_BRAKE | 5    | Game controller BRAKE-axis.|
1102| ABS_HAT0X | 6    | Game controller HAT0X-axis.|
1103| ABS_HAT0Y | 7    | Game controller HAT0Y-axis.|
1104
1105## PageFlipMode<sup>15+</sup>
1106
1107Enumerates the modes for flipping pages using the mouse wheel.
1108
1109**Atomic service API**: This API can be used in atomic services since API version 15.
1110
1111**System capability**: SystemCapability.ArkUI.ArkUI.Full
1112
1113| Name    | Value  | Description                  |
1114| -------- | ---- | ---------------------- |
1115| CONTINUOUS | 0   | Continuous page flipping mode where multiple pages are turned continuously when the user scrolls the mouse wheel without interruption.|
1116| SINGLE | 1   | Single-page flipping mode where the mouse wheel event is ignored until the current page flipping animation is complete.|
1117
1118## RenderFit<sup>10+</sup>
1119
1120Enumerates the modes in which the final state of the component's content is rendered during its width and height animation process.
1121
1122**Atomic service API**: This API can be used in atomic services since API version 11.
1123
1124**System capability**: SystemCapability.ArkUI.ArkUI.Full
1125
1126| Name                         | Description                                                                             |
1127| --------------------------- | ---------------------------------------------------------------------------------- |
1128| CENTER                      | The component's content stays at the final size and always aligned with the center of the component.               ![renderfit_center](figures/renderfit_center.png) |
1129| TOP                         | The component's content stays at the final size and always aligned with the top center of the component.             ![renderfit_top](figures/renderfit_top.png) |
1130| BOTTOM                      | The component's content stays at the final size and always aligned with the bottom center of the component.             ![renderfit_bottom](figures/renderfit_bottom.png) |
1131| LEFT                        | The component's content stays at the final size and always aligned with the left of the component.               ![renderfit_left](figures/renderfit_left.png) |
1132| RIGHT                       | The component's content stays at the final size and always aligned with the right of the component.              ![renderfit_right](figures/renderfit_right.png) |
1133| TOP_LEFT                    | The component's content stays at the final size and always aligned with the upper left corner of the component.              ![renderfit_top_left](figures/renderfit_top_left.png) |
1134| TOP_RIGHT                   | The component's content stays at the final size and always aligned with the upper right corner of the component.             ![renderfit_top_right](figures/renderfit_top_right.png) |
1135| BOTTOM_LEFT                 | The component's content stays at the final size and always aligned with the lower left corner of the component.              ![renderfit_bottom_left](figures/renderfit_bottom_left.png) |
1136| BOTTOM_RIGHT                | The component's content stays at the final size and always aligned with the lower right corner of the component.              ![renderfit_bottom_right](figures/renderfit_bottom_right.png) |
1137| RESIZE_FILL                 | The component's content is always resized to fill the component's content box, without considering its aspect ratio in the final state.              ![renderfit_resize_fill](figures/renderfit_resize_fill.png) |
1138| RESIZE_CONTAIN              | While maintaining its aspect ratio in the final state, the component's content is scaled to fit within the component's content box. It is always aligned with the center of the component.   ![renderfit_resize_contain](figures/renderfit_resize_contain.png) |
1139| RESIZE_CONTAIN_TOP_LEFT     | While maintaining its aspect ratio in the final state, the component's content is scaled to fit within the component's content box. When there is remaining space in the width direction of the component, the content is left-aligned with the component. When there is remaining space in the height direction of the component, the content is top-aligned with the component.   ![renderfit_resize_contain_top_left](figures/renderfit_resize_contain_top_left.png) |
1140| RESIZE_CONTAIN_BOTTOM_RIGHT | While maintaining its aspect ratio in the final state, the component's content is scaled to fit within the component's content box. When there is remaining space in the width direction of the component, the content is right-aligned with the component. When there is remaining space in the height direction of the component, the content is bottom-aligned with the component.   ![renderfit_resize_contain_bottom_right](figures/renderfit_resize_contain_bottom_right.png) |
1141| RESIZE_COVER                | While maintaining its aspect ratio in the final state, the component's content is scaled to cover the component's entire content box. It is always aligned with the center of the component, so that its middle part is displayed.   ![renderfit_resize_cover](figures/renderfit_resize_cover.png) |
1142| RESIZE_COVER_TOP_LEFT       | While maintaining its aspect ratio in the final state, the component's content is scaled to cover the component's entire content box. When there is remaining space in the width direction, the content is left-aligned with the component, so that its left part is displayed. When there is remaining space in the height direction, the content is top-aligned with the component, so that its top part is displayed.   ![renderfit_resize_cover_top_left](figures/renderfit_resize_cover_top_left.png) |
1143| RESIZE_COVER_BOTTOM_RIGHT   | While maintaining its aspect ratio in the final state, the component's content is scaled to cover the component's entire content box. When there is remaining space in the width direction, the content is right-aligned with the component, so that its right part is displayed. When there is remaining space in the height direction, the content is bottom-aligned with the component, so that its bottom part is displayed.   ![renderfit_resize_cover_bottom_right](figures/renderfit_resize_cover_bottom_right.png) |
1144
1145
1146> **NOTE**
1147>
1148> - In the illustrative diagrams, the blue area indicates the content, and the orange area indicates the component content box.
1149> - Different render fit modes create different effects during the width and height animation process. Choose the one that best fits your need.
1150
1151## CrownAction<sup>18+</sup>
1152
1153Enumerates the crown actions.
1154
1155**Atomic service API**: This API can be used in atomic services since API version 18.
1156
1157**System capability**: SystemCapability.ArkUI.ArkUI.Full
1158
1159|Name            | Value| Description                                  |
1160|-------------------| -- | ------------------------------------- |
1161| BEGIN             | 0  | The crown starts to rotate.                         |
1162| UPDATE	        | 1  | The crown is rotating.                           |
1163| END	            | 2  | The crown stops rotating.                         |
1164
1165## CrownSensitivity<sup>18+</sup>
1166
1167Enumerates the sensitivity levels for crown rotation.
1168
1169**Atomic service API**: This API can be used in atomic services since API version 18.
1170
1171**System capability**: SystemCapability.ArkUI.ArkUI.Full
1172
1173| Name          | Value | Description                                     |
1174| -------------- | -- | ---------------------------------------- |
1175| LOW 	         | 0   | Low sensitivity.                                |
1176| MEDIUM         | 1   | Medium sensitivity.                                |
1177| HIGH 	         | 2   | High sensitivity.                                |
1178
1179## AxisAction<sup>18+</sup>
1180
1181Enumerates the types of axis actions for axis events.
1182
1183**Atomic service API**: This API can be used in atomic services since API version 18.
1184
1185**System capability**: SystemCapability.ArkUI.ArkUI.Full
1186
1187| Name   | Value  | Description                              |
1188| ------- | ---- | ---------------------------------- |
1189| NONE   | 0    | No axis event.|
1190| BEGIN  | 1    | The axis event begins.|
1191| UPDATE | 2    | The axis event is in progress.|
1192| END    | 3    | The axis event ends.|
1193| CANCEL | 4    | The axis event is canceled.|
1194
1195## InteractionHand<sup>15+</sup>
1196
1197Defines whether an event is triggered by a left-hand or right-hand tap.
1198
1199**Atomic service API**: This API can be used in atomic services since API version 15.
1200
1201**System capability**: SystemCapability.ArkUI.ArkUI.Full
1202
1203| Name    | Value  | Description                  |
1204| -------- | ---- | ---------------------- |
1205| NONE     | 0   | Unknown.|
1206| LEFT     | 1   | Left hand.|
1207| RIGHT    | 2   | Right hand.|
1208