1e41f4b71Sopenharmony_ci# Enums 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci>**NOTE** 4e41f4b71Sopenharmony_ci> 5e41f4b71Sopenharmony_ci>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. 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci## Color 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci| Color | Value | Illustration | 14e41f4b71Sopenharmony_ci| ------------------------ | ------------- | ---------------------------------------- | 15e41f4b71Sopenharmony_ci| Black | 0x000000 |  | 16e41f4b71Sopenharmony_ci| Blue | 0x0000ff |  | 17e41f4b71Sopenharmony_ci| Brown | 0xa52a2a |  | 18e41f4b71Sopenharmony_ci| Gray | 0x808080 |  | 19e41f4b71Sopenharmony_ci| Grey | 0x808080 |  | 20e41f4b71Sopenharmony_ci| Green | 0x008000 |  | 21e41f4b71Sopenharmony_ci| Orange | 0xffa500 |  | 22e41f4b71Sopenharmony_ci| Pink | 0xffc0cb |  | 23e41f4b71Sopenharmony_ci| Red | 0xff0000 |  | 24e41f4b71Sopenharmony_ci| White | 0xffffff |  | 25e41f4b71Sopenharmony_ci| Yellow | 0xffff00 |  | 26e41f4b71Sopenharmony_ci| Transparent<sup>9+</sup> | rgba(0,0,0,0) | Transparent | 27e41f4b71Sopenharmony_ci 28e41f4b71Sopenharmony_ci## ImageFit 29e41f4b71Sopenharmony_ci 30e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 31e41f4b71Sopenharmony_ci 32e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 33e41f4b71Sopenharmony_ci 34e41f4b71Sopenharmony_ci| Name | Description | 35e41f4b71Sopenharmony_ci| --------- | ------------------------------- | 36e41f4b71Sopenharmony_ci| Contain | The image is scaled with its aspect ratio retained for the content to be completely displayed within the display boundaries. | 37e41f4b71Sopenharmony_ci| Cover | The image is scaled with its aspect ratio retained for both sides to be greater than or equal to the display boundaries.| 38e41f4b71Sopenharmony_ci| Auto | The image is scaled automatically based on its own size and the size of the component to fit the display area.| 39e41f4b71Sopenharmony_ci| Fill | The image is scaled to fill the display area, and its aspect ratio is not retained. | 40e41f4b71Sopenharmony_ci| ScaleDown | The image is displayed with its aspect ratio retained, in a size smaller than or equal to the original size. | 41e41f4b71Sopenharmony_ci| None | The original size is retained. | 42e41f4b71Sopenharmony_ci| TOP_START<sup>12+</sup> | The image is displayed at the top start corner of the **Image** component, keeping its original size.| 43e41f4b71Sopenharmony_ci| TOP<sup>12+</sup> | The image is displayed horizontally centered at the top of the **Image** component, keeping its original size.| 44e41f4b71Sopenharmony_ci| TOP_END<sup>12+</sup> | The image is displayed at the top end corner of the **Image** component, keeping its original size.| 45e41f4b71Sopenharmony_ci| START<sup>12+</sup> | The image is displayed vertically centered at the start of the **Image** component, keeping its original size.| 46e41f4b71Sopenharmony_ci| CENTER<sup>12+</sup> | The image is displayed at the center of the **Image** component both horizontally and vertically, keeping its original size.| 47e41f4b71Sopenharmony_ci| END<sup>12+</sup> | The image is displayed vertically centered at the end of the **Image** component, keeping its original size.| 48e41f4b71Sopenharmony_ci| BOTTOM_START<sup>12+</sup> | The image is displayed at the bottom start corner of the **Image** component, keeping its original size.| 49e41f4b71Sopenharmony_ci| BOTTOM<sup>12+</sup> | The image is displayed horizontally centered at the bottom of the **Image** component, keeping its original size.| 50e41f4b71Sopenharmony_ci| BOTTOM_END<sup>12+</sup>| The image is displayed at the bottom end corner of the **Image** component, keeping its original size.| 51e41f4b71Sopenharmony_ci 52e41f4b71Sopenharmony_ci 53e41f4b71Sopenharmony_ci## BorderStyle 54e41f4b71Sopenharmony_ci 55e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 56e41f4b71Sopenharmony_ci 57e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 58e41f4b71Sopenharmony_ci 59e41f4b71Sopenharmony_ci| Name | Description | 60e41f4b71Sopenharmony_ci| ------ | ----------------------------- | 61e41f4b71Sopenharmony_ci| Dotted | Dotted border. The radius of a dot is half of **borderWidth**.| 62e41f4b71Sopenharmony_ci| Dashed | Dashed border. | 63e41f4b71Sopenharmony_ci| Solid | Solid border. | 64e41f4b71Sopenharmony_ci 65e41f4b71Sopenharmony_ci## LineJoinStyle 66e41f4b71Sopenharmony_ci 67e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 68e41f4b71Sopenharmony_ci 69e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 70e41f4b71Sopenharmony_ci 71e41f4b71Sopenharmony_ci| Name | Description | 72e41f4b71Sopenharmony_ci| ----- | ---------- | 73e41f4b71Sopenharmony_ci| Bevel | Bevel is used to connect paths.| 74e41f4b71Sopenharmony_ci| Miter | Miter is used to connect paths.| 75e41f4b71Sopenharmony_ci| Round | Round is used to connect paths.| 76e41f4b71Sopenharmony_ci 77e41f4b71Sopenharmony_ci## TouchType 78e41f4b71Sopenharmony_ci 79e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 80e41f4b71Sopenharmony_ci 81e41f4b71Sopenharmony_ci| Name | Description | 82e41f4b71Sopenharmony_ci| ------ | --------------- | 83e41f4b71Sopenharmony_ci| Down | A finger is pressed. | 84e41f4b71Sopenharmony_ci| Up | A finger is lifted. | 85e41f4b71Sopenharmony_ci| Move | A finger moves on the screen in pressed state.| 86e41f4b71Sopenharmony_ci| Cancel | A touch event is canceled. | 87e41f4b71Sopenharmony_ci 88e41f4b71Sopenharmony_ci## MouseButton 89e41f4b71Sopenharmony_ci 90e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 91e41f4b71Sopenharmony_ci 92e41f4b71Sopenharmony_ci| Name | Description | 93e41f4b71Sopenharmony_ci| ------- | -------- | 94e41f4b71Sopenharmony_ci| Left | Left button on the mouse. | 95e41f4b71Sopenharmony_ci| Right | Right button on the mouse. | 96e41f4b71Sopenharmony_ci| Middle | Middle button on the mouse. | 97e41f4b71Sopenharmony_ci| Back | Back button on the left of the mouse.| 98e41f4b71Sopenharmony_ci| Forward | Forward button on the left of the mouse.| 99e41f4b71Sopenharmony_ci| None | No button. | 100e41f4b71Sopenharmony_ci 101e41f4b71Sopenharmony_ci## MouseAction 102e41f4b71Sopenharmony_ci 103e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 104e41f4b71Sopenharmony_ci 105e41f4b71Sopenharmony_ci| Name | Description | 106e41f4b71Sopenharmony_ci| ------- | ------- | 107e41f4b71Sopenharmony_ci| Press | The mouse button is pressed.| 108e41f4b71Sopenharmony_ci| Release | The mouse button is released.| 109e41f4b71Sopenharmony_ci| Move | The mouse cursor moves. | 110e41f4b71Sopenharmony_ci| Hover | The mouse pointer is hovered on an element.<br>**NOTE**<br>This value has no effect.<br> | 111e41f4b71Sopenharmony_ci 112e41f4b71Sopenharmony_ci## Curve 113e41f4b71Sopenharmony_ci 114e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 115e41f4b71Sopenharmony_ci 116e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 117e41f4b71Sopenharmony_ci 118e41f4b71Sopenharmony_ci| Name | Description | 119e41f4b71Sopenharmony_ci| ------------------- | ---------------------------------------- | 120e41f4b71Sopenharmony_ci| Linear | The animation speed keeps unchanged. | 121e41f4b71Sopenharmony_ci| 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.| 122e41f4b71Sopenharmony_ci| 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.| 123e41f4b71Sopenharmony_ci| EaseOut | The animation ends at a low speed. The cubic-bezier curve (0.0, 0.0, 0.58, 1.0) is used.| 124e41f4b71Sopenharmony_ci| EaseInOut | The animation starts and ends at a low speed. The cubic-bezier curve (0.42, 0.0, 0.58, 1.0) is used.| 125e41f4b71Sopenharmony_ci| FastOutSlowIn | The animation uses the standard cubic-bezier curve (0.4, 0.0, 0.2, 1.0). | 126e41f4b71Sopenharmony_ci| LinearOutSlowIn | The animation uses the deceleration cubic-bezier curve (0.0, 0.0, 0.2, 1.0). | 127e41f4b71Sopenharmony_ci| FastOutLinearIn | The animation uses the acceleration cubic-bezier curve (0.4, 0.0, 1.0, 1.0). | 128e41f4b71Sopenharmony_ci| ExtremeDeceleration | The animation uses the extreme deceleration cubic-bezier curve (0.0, 0.0, 0.0, 1.0). | 129e41f4b71Sopenharmony_ci| Sharp | The animation uses the sharp cubic-bezier curve (0.33, 0.0, 0.67, 1.0).| 130e41f4b71Sopenharmony_ci| Rhythm | The animation uses the rhythm cubic-bezier curve (0.7, 0.0, 0.2, 1.0). | 131e41f4b71Sopenharmony_ci| Smooth | The animation uses the smooth cubic-bezier curve (0.4, 0.0, 0.4, 1.0). | 132e41f4b71Sopenharmony_ci| Friction | The animation uses the friction cubic-bezier curve (0.2, 0.0, 0.2, 1.0). | 133e41f4b71Sopenharmony_ci 134e41f4b71Sopenharmony_ci## AnimationStatus 135e41f4b71Sopenharmony_ci 136e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 10. 137e41f4b71Sopenharmony_ci 138e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 139e41f4b71Sopenharmony_ci 140e41f4b71Sopenharmony_ci| Name | Description | 141e41f4b71Sopenharmony_ci| ------- | --------- | 142e41f4b71Sopenharmony_ci| Initial | The animation is in the initial state. | 143e41f4b71Sopenharmony_ci| Running | The animation is being played.| 144e41f4b71Sopenharmony_ci| Paused | The animation is paused.| 145e41f4b71Sopenharmony_ci| Stopped | The animation is stopped.| 146e41f4b71Sopenharmony_ci 147e41f4b71Sopenharmony_ci## FillMode 148e41f4b71Sopenharmony_ci 149e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 10. 150e41f4b71Sopenharmony_ci 151e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 152e41f4b71Sopenharmony_ci 153e41f4b71Sopenharmony_ci| Name | Description | 154e41f4b71Sopenharmony_ci| --------- | ---------------------------------------- | 155e41f4b71Sopenharmony_ci| 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. | 156e41f4b71Sopenharmony_ci| Forwards | The target component retains the state set by the last keyframe encountered during execution of the animation. | 157e41f4b71Sopenharmony_ci| 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.| 158e41f4b71Sopenharmony_ci| Both | The animation follows the rules for both **Forwards** and **Backwards**, extending the animation attributes in both directions.| 159e41f4b71Sopenharmony_ci 160e41f4b71Sopenharmony_ci## PlayMode 161e41f4b71Sopenharmony_ci 162e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 163e41f4b71Sopenharmony_ci 164e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 165e41f4b71Sopenharmony_ci 166e41f4b71Sopenharmony_ci| Name | Description | 167e41f4b71Sopenharmony_ci| ---------------- | ---------------------------------------- | 168e41f4b71Sopenharmony_ci| Normal | The animation is played forwards. | 169e41f4b71Sopenharmony_ci| Reverse | The animation is played backwards. | 170e41f4b71Sopenharmony_ci| 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...).| 171e41f4b71Sopenharmony_ci| 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...).| 172e41f4b71Sopenharmony_ci 173e41f4b71Sopenharmony_ci## KeyType 174e41f4b71Sopenharmony_ci 175e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 176e41f4b71Sopenharmony_ci 177e41f4b71Sopenharmony_ci| Name | Description | 178e41f4b71Sopenharmony_ci| ---- | ----- | 179e41f4b71Sopenharmony_ci| Down | The key is pressed.| 180e41f4b71Sopenharmony_ci| Up | The key is released.| 181e41f4b71Sopenharmony_ci 182e41f4b71Sopenharmony_ci## KeySource 183e41f4b71Sopenharmony_ci 184e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 185e41f4b71Sopenharmony_ci 186e41f4b71Sopenharmony_ci| Name | Description | 187e41f4b71Sopenharmony_ci| -------- | ---------- | 188e41f4b71Sopenharmony_ci| Unknown | Unknown input device. | 189e41f4b71Sopenharmony_ci| Keyboard | The input device is a keyboard.| 190e41f4b71Sopenharmony_ci 191e41f4b71Sopenharmony_ci## Edge 192e41f4b71Sopenharmony_ci 193e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 194e41f4b71Sopenharmony_ci 195e41f4b71Sopenharmony_ci| Name | Description | 196e41f4b71Sopenharmony_ci| -------------------------------- | ---------------------------------------- | 197e41f4b71Sopenharmony_ci| Top | Top edge in the vertical direction.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.| 198e41f4b71Sopenharmony_ci| Center<sup>(deprecated) </sup> | Center position in the vertical direction.<br> This API is deprecated since API version 9. | 199e41f4b71Sopenharmony_ci| Bottom | Bottom edge in the vertical direction.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.| 200e41f4b71Sopenharmony_ci| Baseline<sup>(deprecated) </sup> | Text baseline position in the cross axis direction.<br> This API is deprecated since API version 9. | 201e41f4b71Sopenharmony_ci| Start | Start position in the horizontal direction.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.| 202e41f4b71Sopenharmony_ci| Middle<sup>(deprecated) </sup> | Center position in the horizontal direction.<br> This API is deprecated since API version 9. | 203e41f4b71Sopenharmony_ci| End | End position in the horizontal direction.<br>**Widget capability**: This API can be used in ArkTS widgets since API version 9.| 204e41f4b71Sopenharmony_ci 205e41f4b71Sopenharmony_ci## Week 206e41f4b71Sopenharmony_ci 207e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 208e41f4b71Sopenharmony_ci 209e41f4b71Sopenharmony_ci| Name | Description | 210e41f4b71Sopenharmony_ci| ---- | ---- | 211e41f4b71Sopenharmony_ci| Mon | Monday. | 212e41f4b71Sopenharmony_ci| Tue | Tuesday. | 213e41f4b71Sopenharmony_ci| Wed | Wednesday. | 214e41f4b71Sopenharmony_ci| Thur | Thursday. | 215e41f4b71Sopenharmony_ci| Fri | Friday. | 216e41f4b71Sopenharmony_ci| Sat | Saturday. | 217e41f4b71Sopenharmony_ci| Sun | Sunday. | 218e41f4b71Sopenharmony_ci 219e41f4b71Sopenharmony_ci## Direction 220e41f4b71Sopenharmony_ci 221e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 222e41f4b71Sopenharmony_ci 223e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 224e41f4b71Sopenharmony_ci 225e41f4b71Sopenharmony_ci| Name | Description | 226e41f4b71Sopenharmony_ci| ---- | ----------- | 227e41f4b71Sopenharmony_ci| Ltr | Components are arranged from left to right. | 228e41f4b71Sopenharmony_ci| Rtl | Components are arranged from right to left. | 229e41f4b71Sopenharmony_ci| Auto | The default layout direction is used.| 230e41f4b71Sopenharmony_ci 231e41f4b71Sopenharmony_ci## BarState 232e41f4b71Sopenharmony_ci 233e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 234e41f4b71Sopenharmony_ci 235e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 236e41f4b71Sopenharmony_ci 237e41f4b71Sopenharmony_ci| Name | Description | 238e41f4b71Sopenharmony_ci| ---- | ------------------ | 239e41f4b71Sopenharmony_ci| Off | Not displayed. | 240e41f4b71Sopenharmony_ci| On | Always displayed. | 241e41f4b71Sopenharmony_ci| Auto | Displayed when the screen is touched and hidden after 2s.| 242e41f4b71Sopenharmony_ci 243e41f4b71Sopenharmony_ci## EdgeEffect 244e41f4b71Sopenharmony_ci 245e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 246e41f4b71Sopenharmony_ci 247e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 248e41f4b71Sopenharmony_ci 249e41f4b71Sopenharmony_ci| Name | Description | 250e41f4b71Sopenharmony_ci| ------ | ---------------------------------------- | 251e41f4b71Sopenharmony_ci| 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.| 252e41f4b71Sopenharmony_ci| Fade | Fade effect. When at one of the edges, the component produces a fade effect. | 253e41f4b71Sopenharmony_ci| None | No effect when the component is at one of the edges. | 254e41f4b71Sopenharmony_ci 255e41f4b71Sopenharmony_ci## Alignment 256e41f4b71Sopenharmony_ci 257e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 258e41f4b71Sopenharmony_ci 259e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 260e41f4b71Sopenharmony_ci 261e41f4b71Sopenharmony_ci| Name | Description | 262e41f4b71Sopenharmony_ci| ----------- | -------- | 263e41f4b71Sopenharmony_ci| TopStart | Top start. | 264e41f4b71Sopenharmony_ci| Top | Horizontally centered on the top. | 265e41f4b71Sopenharmony_ci| TopEnd | Top end. | 266e41f4b71Sopenharmony_ci| Start | Vertically centered start.| 267e41f4b71Sopenharmony_ci| Center | Horizontally and vertically centered.| 268e41f4b71Sopenharmony_ci| End | Vertically centered end. | 269e41f4b71Sopenharmony_ci| BottomStart | Bottom start. | 270e41f4b71Sopenharmony_ci| Bottom | Horizontally centered on the bottom. | 271e41f4b71Sopenharmony_ci| BottomEnd | Bottom end. | 272e41f4b71Sopenharmony_ci 273e41f4b71Sopenharmony_ci## TransitionType 274e41f4b71Sopenharmony_ci 275e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 276e41f4b71Sopenharmony_ci 277e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 278e41f4b71Sopenharmony_ci 279e41f4b71Sopenharmony_ci| Name | Description | 280e41f4b71Sopenharmony_ci| ------ | ------------------------------ | 281e41f4b71Sopenharmony_ci| All | The transition takes effect in all scenarios.| 282e41f4b71Sopenharmony_ci| Insert | The transition takes effect when a component is inserted or displayed.| 283e41f4b71Sopenharmony_ci| Delete | The transition takes effect when a component is deleted or hidden.| 284e41f4b71Sopenharmony_ci 285e41f4b71Sopenharmony_ci## RelateType 286e41f4b71Sopenharmony_ci 287e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 288e41f4b71Sopenharmony_ci 289e41f4b71Sopenharmony_ci| Name | Description | 290e41f4b71Sopenharmony_ci| ---- | -------------- | 291e41f4b71Sopenharmony_ci| FILL | The current child component is scaled to fill the parent component.| 292e41f4b71Sopenharmony_ci| FIT | The current child component is scaled to adapt to the parent component.| 293e41f4b71Sopenharmony_ci 294e41f4b71Sopenharmony_ci## Visibility 295e41f4b71Sopenharmony_ci 296e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 297e41f4b71Sopenharmony_ci 298e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 299e41f4b71Sopenharmony_ci 300e41f4b71Sopenharmony_ci| Name | Description | 301e41f4b71Sopenharmony_ci| ------- | ---------------- | 302e41f4b71Sopenharmony_ci| Hidden | The component is hidden, and a placeholder is used for it in the layout. | 303e41f4b71Sopenharmony_ci| Visible | The component is visible. | 304e41f4b71Sopenharmony_ci| None | The component is hidden. It is not involved in the layout, and no placeholder is used for it.| 305e41f4b71Sopenharmony_ci 306e41f4b71Sopenharmony_ci## LineCapStyle 307e41f4b71Sopenharmony_ci 308e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 309e41f4b71Sopenharmony_ci 310e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 311e41f4b71Sopenharmony_ci 312e41f4b71Sopenharmony_ci| Name | Description | 313e41f4b71Sopenharmony_ci| ------ | ----------------------------- | 314e41f4b71Sopenharmony_ci| Butt | The ends of the line are squared off, and the line does not extend beyond its two endpoints. | 315e41f4b71Sopenharmony_ci| Round | The line is extended at the endpoints by a half circle whose diameter is equal to the line width. | 316e41f4b71Sopenharmony_ci| 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.| 317e41f4b71Sopenharmony_ci 318e41f4b71Sopenharmony_ci## Axis 319e41f4b71Sopenharmony_ci 320e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 321e41f4b71Sopenharmony_ci 322e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 323e41f4b71Sopenharmony_ci 324e41f4b71Sopenharmony_ci| Name | Description | 325e41f4b71Sopenharmony_ci| ---------- | ------ | 326e41f4b71Sopenharmony_ci| Vertical | Vertical direction.| 327e41f4b71Sopenharmony_ci| Horizontal | Horizontal direction.| 328e41f4b71Sopenharmony_ci 329e41f4b71Sopenharmony_ci## HorizontalAlign 330e41f4b71Sopenharmony_ci 331e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 332e41f4b71Sopenharmony_ci 333e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 334e41f4b71Sopenharmony_ci 335e41f4b71Sopenharmony_ci| Name | Description | 336e41f4b71Sopenharmony_ci| ------ | ------------ | 337e41f4b71Sopenharmony_ci| Start | Aligned with the start edge in the same direction as the language in use.| 338e41f4b71Sopenharmony_ci| Center | Aligned with the center. This is the default alignment mode.| 339e41f4b71Sopenharmony_ci| End | Aligned with the end edge in the same direction as the language in use. | 340e41f4b71Sopenharmony_ci 341e41f4b71Sopenharmony_ci## FlexAlign 342e41f4b71Sopenharmony_ci 343e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 344e41f4b71Sopenharmony_ci 345e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 346e41f4b71Sopenharmony_ci 347e41f4b71Sopenharmony_ci| Name | Description | 348e41f4b71Sopenharmony_ci| ------------ | ---------------------------------------- | 349e41f4b71Sopenharmony_ci| 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. | 350e41f4b71Sopenharmony_ci| 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. | 351e41f4b71Sopenharmony_ci| 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. | 352e41f4b71Sopenharmony_ci| 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.| 353e41f4b71Sopenharmony_ci| 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.| 354e41f4b71Sopenharmony_ci| 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.| 355e41f4b71Sopenharmony_ci 356e41f4b71Sopenharmony_ci## ItemAlign 357e41f4b71Sopenharmony_ci 358e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 359e41f4b71Sopenharmony_ci 360e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 361e41f4b71Sopenharmony_ci 362e41f4b71Sopenharmony_ci| Name | Description | 363e41f4b71Sopenharmony_ci| -------- | ---------------------------------------- | 364e41f4b71Sopenharmony_ci| Auto | The default configuration of the flex container is used. | 365e41f4b71Sopenharmony_ci| Start | The items in the flex container are aligned with the cross-start edge. | 366e41f4b71Sopenharmony_ci| Center | The items in the flex container are centered along the cross axis. | 367e41f4b71Sopenharmony_ci| End | The items in the flex container are aligned with the cross-end edge. | 368e41f4b71Sopenharmony_ci| 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.| 369e41f4b71Sopenharmony_ci| Baseline | The items in the flex container are aligned in such a manner that their text baselines are aligned along the cross axis. | 370e41f4b71Sopenharmony_ci 371e41f4b71Sopenharmony_ci## FlexDirection 372e41f4b71Sopenharmony_ci 373e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 374e41f4b71Sopenharmony_ci 375e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 376e41f4b71Sopenharmony_ci 377e41f4b71Sopenharmony_ci| Name | Description | 378e41f4b71Sopenharmony_ci| ------------- | ---------------- | 379e41f4b71Sopenharmony_ci| Row | The child components are arranged in the same direction as the main axis runs along the rows. | 380e41f4b71Sopenharmony_ci| RowReverse | The child components are arranged opposite to the **Row** direction. | 381e41f4b71Sopenharmony_ci| Column | The child components are arranged in the same direction as the main axis runs down the columns. | 382e41f4b71Sopenharmony_ci| ColumnReverse | The child components are arranged opposite to the **Column** direction.| 383e41f4b71Sopenharmony_ci 384e41f4b71Sopenharmony_ci## FlexWrap 385e41f4b71Sopenharmony_ci 386e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 387e41f4b71Sopenharmony_ci 388e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 389e41f4b71Sopenharmony_ci 390e41f4b71Sopenharmony_ci| Name | Description | 391e41f4b71Sopenharmony_ci| ----------- | --------------------------- | 392e41f4b71Sopenharmony_ci| 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. | 393e41f4b71Sopenharmony_ci| Wrap | The child components in the flex container are arranged in multiple lines, and they may overflow. | 394e41f4b71Sopenharmony_ci| WrapReverse | The child components in the flex container are reversely arranged in multiple lines, and they may overflow.| 395e41f4b71Sopenharmony_ci 396e41f4b71Sopenharmony_ci## VerticalAlign 397e41f4b71Sopenharmony_ci 398e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 399e41f4b71Sopenharmony_ci 400e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 401e41f4b71Sopenharmony_ci 402e41f4b71Sopenharmony_ci| Name | Description | 403e41f4b71Sopenharmony_ci| ------ | ------------ | 404e41f4b71Sopenharmony_ci| Top | Top aligned. | 405e41f4b71Sopenharmony_ci| Center | Center aligned. This is the default alignment mode.| 406e41f4b71Sopenharmony_ci| Bottom | Bottom aligned. | 407e41f4b71Sopenharmony_ci 408e41f4b71Sopenharmony_ci## ImageRepeat 409e41f4b71Sopenharmony_ci 410e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 411e41f4b71Sopenharmony_ci 412e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 413e41f4b71Sopenharmony_ci 414e41f4b71Sopenharmony_ci| Name | Description | 415e41f4b71Sopenharmony_ci| -------- | ------------- | 416e41f4b71Sopenharmony_ci| X | The image is repeatedly drawn only along the horizontal axis.| 417e41f4b71Sopenharmony_ci| Y | The image is repeatedly drawn only along the vertical axis.| 418e41f4b71Sopenharmony_ci| XY | The image is repeatedly drawn along both axes. | 419e41f4b71Sopenharmony_ci| NoRepeat | The image is not repeatedly drawn. | 420e41f4b71Sopenharmony_ci 421e41f4b71Sopenharmony_ci## ImageSize 422e41f4b71Sopenharmony_ci 423e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 424e41f4b71Sopenharmony_ci 425e41f4b71Sopenharmony_ci| Type | Description | 426e41f4b71Sopenharmony_ci| ------- | ----------------------------------- | 427e41f4b71Sopenharmony_ci| Cover | Default value. The image is scaled with its aspect ratio retained for both sides to be greater than or equal to the display boundaries.<br>**Atomic service API**: This API can be used in atomic services since API version 11.| 428e41f4b71Sopenharmony_ci| Contain | The image is scaled with its aspect ratio retained for the content to be completely displayed within the display boundaries.<br> **Atomic service API**: This API can be used in atomic services since API version 11. | 429e41f4b71Sopenharmony_ci| Auto | The original image aspect ratio is retained.<br> **Atomic service API**: This API can be used in atomic services since API version 11. | 430e41f4b71Sopenharmony_ci| FILL<sup>12+</sup> | 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.| 431e41f4b71Sopenharmony_ci 432e41f4b71Sopenharmony_ci## GradientDirection 433e41f4b71Sopenharmony_ci 434e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 435e41f4b71Sopenharmony_ci 436e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 437e41f4b71Sopenharmony_ci 438e41f4b71Sopenharmony_ci| Name | Description | 439e41f4b71Sopenharmony_ci| ----------- | ----- | 440e41f4b71Sopenharmony_ci| Left | The gradient direction is from right to left.| 441e41f4b71Sopenharmony_ci| Top | The gradient direction is from bottom to top.| 442e41f4b71Sopenharmony_ci| Right | The gradient direction is from left to right.| 443e41f4b71Sopenharmony_ci| Bottom | The gradient direction is from top to bottom.| 444e41f4b71Sopenharmony_ci| LeftTop | The gradient direction is upper left. | 445e41f4b71Sopenharmony_ci| LeftBottom | The gradient direction is lower left. | 446e41f4b71Sopenharmony_ci| RightTop | The gradient direction is upper right. | 447e41f4b71Sopenharmony_ci| RightBottom | The gradient direction is lower right. | 448e41f4b71Sopenharmony_ci| None | No gradient. | 449e41f4b71Sopenharmony_ci 450e41f4b71Sopenharmony_ci## SharedTransitionEffectType 451e41f4b71Sopenharmony_ci 452e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 453e41f4b71Sopenharmony_ci 454e41f4b71Sopenharmony_ci| Name | Description | 455e41f4b71Sopenharmony_ci| -------- | ---------------------------------------- | 456e41f4b71Sopenharmony_ci| 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.| 457e41f4b71Sopenharmony_ci| Exchange | The element is relocated and scaled properly on the target page. | 458e41f4b71Sopenharmony_ci 459e41f4b71Sopenharmony_ci## FontStyle 460e41f4b71Sopenharmony_ci 461e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 462e41f4b71Sopenharmony_ci 463e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 464e41f4b71Sopenharmony_ci 465e41f4b71Sopenharmony_ci| Name | Description | 466e41f4b71Sopenharmony_ci| ------ | -------- | 467e41f4b71Sopenharmony_ci| Normal | Standard font style.| 468e41f4b71Sopenharmony_ci| Italic | Italic font style.| 469e41f4b71Sopenharmony_ci 470e41f4b71Sopenharmony_ci## FontWeight 471e41f4b71Sopenharmony_ci 472e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 473e41f4b71Sopenharmony_ci 474e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 475e41f4b71Sopenharmony_ci 476e41f4b71Sopenharmony_ci| Name | Description | 477e41f4b71Sopenharmony_ci| ------- | ------- | 478e41f4b71Sopenharmony_ci| Lighter | The font weight is lighter. | 479e41f4b71Sopenharmony_ci| Normal | The font weight is normal.| 480e41f4b71Sopenharmony_ci| Regular | The font weight is regular.| 481e41f4b71Sopenharmony_ci| Medium | The font weight is medium.| 482e41f4b71Sopenharmony_ci| Bold | The font weight is bold. | 483e41f4b71Sopenharmony_ci| Bolder | The font weight is bolder. | 484e41f4b71Sopenharmony_ci 485e41f4b71Sopenharmony_ci## TextAlign 486e41f4b71Sopenharmony_ci 487e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 488e41f4b71Sopenharmony_ci 489e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 490e41f4b71Sopenharmony_ci 491e41f4b71Sopenharmony_ci| Name | Description | 492e41f4b71Sopenharmony_ci| --------------------- | ------- | 493e41f4b71Sopenharmony_ci| Start | Aligned with the start.| 494e41f4b71Sopenharmony_ci| Center | Horizontally centered.| 495e41f4b71Sopenharmony_ci| End | Aligned with the end.| 496e41f4b71Sopenharmony_ci| JUSTIFY<sup>10+</sup> | Aligned with both margins. | 497e41f4b71Sopenharmony_ci 498e41f4b71Sopenharmony_ci## TextOverflow 499e41f4b71Sopenharmony_ci 500e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 501e41f4b71Sopenharmony_ci 502e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 503e41f4b71Sopenharmony_ci 504e41f4b71Sopenharmony_ci| Name | Description | 505e41f4b71Sopenharmony_ci| --------------------- | ------------------- | 506e41f4b71Sopenharmony_ci| None | Overflowing content is clipped at the limit of the maximum line width. | 507e41f4b71Sopenharmony_ci| Clip | Overflowing content is clipped at the limit of the maximum line width. | 508e41f4b71Sopenharmony_ci| Ellipsis | An ellipsis (...) is used to represent text overflow.| 509e41f4b71Sopenharmony_ci| MARQUEE<sup>10+</sup> | Text continuously scrolls when text overflow occurs. | 510e41f4b71Sopenharmony_ci 511e41f4b71Sopenharmony_ci## TextDecorationType 512e41f4b71Sopenharmony_ci 513e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 514e41f4b71Sopenharmony_ci 515e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 516e41f4b71Sopenharmony_ci 517e41f4b71Sopenharmony_ci| Name | Description | 518e41f4b71Sopenharmony_ci| ----------- | --------- | 519e41f4b71Sopenharmony_ci| Underline | Line under the text. | 520e41f4b71Sopenharmony_ci| LineThrough | Line through the text.| 521e41f4b71Sopenharmony_ci| Overline | Line over the text. | 522e41f4b71Sopenharmony_ci| None | No text decoration.| 523e41f4b71Sopenharmony_ci 524e41f4b71Sopenharmony_ci## TextCase 525e41f4b71Sopenharmony_ci 526e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 527e41f4b71Sopenharmony_ci 528e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 529e41f4b71Sopenharmony_ci 530e41f4b71Sopenharmony_ci| Name | Description | 531e41f4b71Sopenharmony_ci| --------- | ---------- | 532e41f4b71Sopenharmony_ci| Normal | The original case of the text is retained.| 533e41f4b71Sopenharmony_ci| LowerCase | All letters in the text are in lowercase. | 534e41f4b71Sopenharmony_ci| UpperCase | All letters in the text are in uppercase. | 535e41f4b71Sopenharmony_ci 536e41f4b71Sopenharmony_ci## ResponseType<sup>8+</sup> 537e41f4b71Sopenharmony_ci 538e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 539e41f4b71Sopenharmony_ci 540e41f4b71Sopenharmony_ci| Name | Description | 541e41f4b71Sopenharmony_ci| ---------- | ------------- | 542e41f4b71Sopenharmony_ci| LongPress | The menu is displayed when the component is long-pressed. | 543e41f4b71Sopenharmony_ci| RightClick | The menu is displayed when the component is right-clicked.| 544e41f4b71Sopenharmony_ci 545e41f4b71Sopenharmony_ci## RichEditorResponseType<sup>11+</sup> 546e41f4b71Sopenharmony_ci 547e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 548e41f4b71Sopenharmony_ci 549e41f4b71Sopenharmony_ci| Name | Description | 550e41f4b71Sopenharmony_ci| ---------- | ------------- | 551e41f4b71Sopenharmony_ci| LONG_PRESS | The menu is displayed when the component is long-pressed. | 552e41f4b71Sopenharmony_ci| RIGHT_CLICK | The menu is displayed when the component is right-clicked.| 553e41f4b71Sopenharmony_ci| SELECT | The menu is displayed when the component is selected.| 554e41f4b71Sopenharmony_ci 555e41f4b71Sopenharmony_ci## HoverEffect<sup>8+</sup> 556e41f4b71Sopenharmony_ci 557e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 558e41f4b71Sopenharmony_ci 559e41f4b71Sopenharmony_ci| Name | Description | 560e41f4b71Sopenharmony_ci| --------- | -------------- | 561e41f4b71Sopenharmony_ci| Auto | Default hover effect.| 562e41f4b71Sopenharmony_ci| Scale | Scale effect. | 563e41f4b71Sopenharmony_ci| Highlight | Background fade-in and fade-out effect. | 564e41f4b71Sopenharmony_ci| None | No effect. | 565e41f4b71Sopenharmony_ci 566e41f4b71Sopenharmony_ci## Placement<sup>8+</sup> 567e41f4b71Sopenharmony_ci 568e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 569e41f4b71Sopenharmony_ci 570e41f4b71Sopenharmony_ci| Name | Description | 571e41f4b71Sopenharmony_ci| ------------- | -------------------------------------- | 572e41f4b71Sopenharmony_ci| Left | The popup is on the left of the component, vertically aligned with the component on the left. | 573e41f4b71Sopenharmony_ci| Right | The popup is on the right of the component, vertically aligned with the component on the right. | 574e41f4b71Sopenharmony_ci| Top | The popup is at the top of the component, horizontally aligned with the component at the top. | 575e41f4b71Sopenharmony_ci| Bottom | The popup is at the bottom of the component, horizontally aligned with the component at the bottom. | 576e41f4b71Sopenharmony_ci| TopLeft | The popup is at the top of the component and, since API version 9, aligned with the left of the component.| 577e41f4b71Sopenharmony_ci| TopRight | The popup is at the top of the component and, since API version 9, aligned with the right of the component.| 578e41f4b71Sopenharmony_ci| BottomLeft | The popup is at the bottom of the component and, since API version 9, aligned with the left of the component.| 579e41f4b71Sopenharmony_ci| BottomRight | The popup is at the bottom of the component and, since API version 9, aligned with the right of the component.| 580e41f4b71Sopenharmony_ci| LeftTop9+ | The popup is on the left of the component and aligned with the top of the component. | 581e41f4b71Sopenharmony_ci| LeftBottom9+ | The popup is on the left of the component and aligned with the bottom of the component. | 582e41f4b71Sopenharmony_ci| RightTop9+ | The popup is on the right of the component and aligned with the top of the component. | 583e41f4b71Sopenharmony_ci| RightBottom9+ | The popup is on the right of the component and aligned with the bottom of the component. | 584e41f4b71Sopenharmony_ci 585e41f4b71Sopenharmony_ci## CopyOptions<sup>9+</sup> 586e41f4b71Sopenharmony_ci 587e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 9. 588e41f4b71Sopenharmony_ci 589e41f4b71Sopenharmony_ci| Name | Description | 590e41f4b71Sopenharmony_ci| ----------- | -------- | 591e41f4b71Sopenharmony_ci| None | Copy is not allowed.<br>**Atomic service API**: This API can be used in atomic services since API version 11. | 592e41f4b71Sopenharmony_ci| InApp | Intra-application copy is allowed.<br>**Atomic service API**: This API can be used in atomic services since API version 11.| 593e41f4b71Sopenharmony_ci| LocalDevice | Intra-device copy is allowed.<br>**Atomic service API**: This API can be used in atomic services since API version 11.| 594e41f4b71Sopenharmony_ci| CROSS_DEVICE<sup>(deprecated)</sup> | Cross-device copy is allowed.<br>**NOTE**<br>This API is supported since API version 11 and deprecated since API version 12.| 595e41f4b71Sopenharmony_ci 596e41f4b71Sopenharmony_ci## HitTestMode<sup>9+</sup> 597e41f4b71Sopenharmony_ci 598e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 599e41f4b71Sopenharmony_ci 600e41f4b71Sopenharmony_ci| Name | Description | 601e41f4b71Sopenharmony_ci| ----------- | ---------------------------------------- | 602e41f4b71Sopenharmony_ci| 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.| 603e41f4b71Sopenharmony_ci| 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.| 604e41f4b71Sopenharmony_ci| 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.| 605e41f4b71Sopenharmony_ci| 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. | 606e41f4b71Sopenharmony_ci 607e41f4b71Sopenharmony_ci## DialogButtonStyle<sup>10+</sup> 608e41f4b71Sopenharmony_ci 609e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 610e41f4b71Sopenharmony_ci 611e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 612e41f4b71Sopenharmony_ci 613e41f4b71Sopenharmony_ci| Name | Description | 614e41f4b71Sopenharmony_ci| --------- | --------------------------------- | 615e41f4b71Sopenharmony_ci| DEFAULT | Blue text on white background (black background under the dark theme).| 616e41f4b71Sopenharmony_ci| HIGHLIGHT | White text on blue background. | 617e41f4b71Sopenharmony_ci 618e41f4b71Sopenharmony_ci## ThemeColorMode<sup>10+</sup> 619e41f4b71Sopenharmony_ci 620e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 621e41f4b71Sopenharmony_ci 622e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 623e41f4b71Sopenharmony_ci 624e41f4b71Sopenharmony_ci| Name | Description | 625e41f4b71Sopenharmony_ci| ------ | ---------- | 626e41f4b71Sopenharmony_ci| SYSTEM | Following the system color mode.| 627e41f4b71Sopenharmony_ci| LIGHT | Light color mode. | 628e41f4b71Sopenharmony_ci| DARK | Dark color mode. | 629e41f4b71Sopenharmony_ci 630e41f4b71Sopenharmony_ci## TextHeightAdaptivePolicy<sup>10+</sup> 631e41f4b71Sopenharmony_ci 632e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 633e41f4b71Sopenharmony_ci 634e41f4b71Sopenharmony_ci| Name | Description | 635e41f4b71Sopenharmony_ci| ----------------------- | ------------------------ | 636e41f4b71Sopenharmony_ci| MAX_LINES_FIRST | Prioritize the **maxLines** settings.| 637e41f4b71Sopenharmony_ci| MIN_FONT_SIZE_FIRST | Prioritize the **minFontSize** settings. | 638e41f4b71Sopenharmony_ci| LAYOUT_CONSTRAINT_FIRST | Prioritize the layout constraint settings in terms of height.| 639e41f4b71Sopenharmony_ci 640e41f4b71Sopenharmony_ci## NestedScrollMode<sup>10+</sup> 641e41f4b71Sopenharmony_ci 642e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 643e41f4b71Sopenharmony_ci 644e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 645e41f4b71Sopenharmony_ci 646e41f4b71Sopenharmony_ci| Name | Description | 647e41f4b71Sopenharmony_ci| ------ | ------------------------------ | 648e41f4b71Sopenharmony_ci| 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. | 649e41f4b71Sopenharmony_ci| 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. | 650e41f4b71Sopenharmony_ci| 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.| 651e41f4b71Sopenharmony_ci| 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.| 652e41f4b71Sopenharmony_ci 653e41f4b71Sopenharmony_ci## ObscuredReasons<sup>10+</sup> 654e41f4b71Sopenharmony_ci 655e41f4b71Sopenharmony_ciThis API is supported in ArkTS widgets. 656e41f4b71Sopenharmony_ci 657e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 658e41f4b71Sopenharmony_ci 659e41f4b71Sopenharmony_ci| Name | Description | 660e41f4b71Sopenharmony_ci| ----------- | ------------------------ | 661e41f4b71Sopenharmony_ci| PLACEHOLDER | The content is replaced by a placeholder.| 662e41f4b71Sopenharmony_ci 663e41f4b71Sopenharmony_ci## ClickEffectLevel<sup>10+</sup> 664e41f4b71Sopenharmony_ci 665e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 666e41f4b71Sopenharmony_ci 667e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 668e41f4b71Sopenharmony_ci 669e41f4b71Sopenharmony_ci| Name | Description | Animation Settings | Default Zoom Ratio | 670e41f4b71Sopenharmony_ci| ------ | --------------------------------- | --------------------------------- | --------------------------------- | 671e41f4b71Sopenharmony_ci| LIGHT | Small area (light)| Spring effect, with stiffness of 410, damping of 38, and initial velocity of 1.| 90% | 672e41f4b71Sopenharmony_ci| MIDDLE | Medium area (stable)| Spring effect, with stiffness of 350, damping of 35, and initial velocity of 0.5.| 95% | 673e41f4b71Sopenharmony_ci| HEAVY | Large area (heavy)| Spring effect, with stiffness of 240, damping of 28, and initial velocity of 0.| 95% | 674e41f4b71Sopenharmony_ci 675e41f4b71Sopenharmony_ci## FoldStatus<sup>11+</sup> 676e41f4b71Sopenharmony_ci 677e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 678e41f4b71Sopenharmony_ci 679e41f4b71Sopenharmony_ci| Name | Description | 680e41f4b71Sopenharmony_ci| ---------------------- | ---------- | 681e41f4b71Sopenharmony_ci| FOLD_STATUS_UNKNOWN | The folding status of the device is unknown.| 682e41f4b71Sopenharmony_ci| FOLD_STATUS_EXPANDED | The device is fully open. | 683e41f4b71Sopenharmony_ci| FOLD_STATUS_FOLDED | The device is folded (completely closed). | 684e41f4b71Sopenharmony_ci| FOLD_STATUS_HALF_FOLDED | The device is half-folded, somewhere between fully open and completely closed.| 685e41f4b71Sopenharmony_ci 686e41f4b71Sopenharmony_ci## TextContentStyle<sup>10+</sup> 687e41f4b71Sopenharmony_ci 688e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 689e41f4b71Sopenharmony_ci 690e41f4b71Sopenharmony_ci| Name | Description | 691e41f4b71Sopenharmony_ci| ------- | ------------------------------------------------------------ | 692e41f4b71Sopenharmony_ci| 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.| 693e41f4b71Sopenharmony_ci| 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.| 694e41f4b71Sopenharmony_ci 695e41f4b71Sopenharmony_ci 696e41f4b71Sopenharmony_ci## Nullable <sup>11+</sup> 697e41f4b71Sopenharmony_ci 698e41f4b71Sopenharmony_ciNullable\<T> { 699e41f4b71Sopenharmony_ci 700e41f4b71Sopenharmony_ci(data: T); 701e41f4b71Sopenharmony_ci 702e41f4b71Sopenharmony_ci} 703e41f4b71Sopenharmony_ci 704e41f4b71Sopenharmony_ciThe object of this type can be of a custom type or **undefined**. 705e41f4b71Sopenharmony_ci 706e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 707e41f4b71Sopenharmony_ci 708e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 709e41f4b71Sopenharmony_ci 710e41f4b71Sopenharmony_ci| Name| Type| Mandatory| Description | 711e41f4b71Sopenharmony_ci| ---- | ---- | ---- | -------------------------- | 712e41f4b71Sopenharmony_ci| data | T | Yes | The object of this type can be of a custom type or **undefined**.| 713e41f4b71Sopenharmony_ci 714e41f4b71Sopenharmony_ci## WordBreak<sup>11+</sup> 715e41f4b71Sopenharmony_ci 716e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 717e41f4b71Sopenharmony_ci 718e41f4b71Sopenharmony_ci| Name | Description | 719e41f4b71Sopenharmony_ci| ----- | -------------------------------------- | 720e41f4b71Sopenharmony_ci| NORMAL | 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).| 721e41f4b71Sopenharmony_ci| BREAK_ALL | Word breaks can occur between any two characters for non-CJK text. CJK text behavior is the same as for **NORMAL**.| 722e41f4b71Sopenharmony_ci| BREAK_WORD | This option has the same effect as **BREAK_ALL** for non-CJK text, except that if it preferentially wraps lines at appropriate characters (for example, spaces) whenever possible. CJK text behavior is the same as for **NORMAL**.| 723e41f4b71Sopenharmony_ci 724e41f4b71Sopenharmony_ci## LineBreakStrategy<sup>12+</sup> 725e41f4b71Sopenharmony_ci 726e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 727e41f4b71Sopenharmony_ci 728e41f4b71Sopenharmony_ci| Name | Description | 729e41f4b71Sopenharmony_ci| ------------ | ------------------------------------------------------------ | 730e41f4b71Sopenharmony_ci| GREEDY | 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.| 731e41f4b71Sopenharmony_ci| HIGH_QUALITY | Fills in lines as much as possible on the basis of **BALANCED**, which may results in a large blank area on the last line.| 732e41f4b71Sopenharmony_ci| BALANCED | Balances the line length when possible without word splitting. | 733e41f4b71Sopenharmony_ci 734e41f4b71Sopenharmony_ci## TextSelectableMode<sup>12+</sup> 735e41f4b71Sopenharmony_ci| Name | Description | 736e41f4b71Sopenharmony_ci| ------------ | ------------------------------------------------------------ | 737e41f4b71Sopenharmony_ci| SELECTABLE_UNFOCUSABLE | The text is selectable, but not focusable. Setting the **selection**, **bindSelectionMenu**, or **copyOption** attribute does not affect the behavior.| 738e41f4b71Sopenharmony_ci| SELECTABLE_FOCUSABLE | The text is selectable and focusable. It obtains focus when touched.| 739e41f4b71Sopenharmony_ci| UNSELECTABLE | The text is not selectable nor focusable. The **selection**, **bindSelectionMenu**, and **copyOption** attributes do not work in this case. | 740e41f4b71Sopenharmony_ci 741e41f4b71Sopenharmony_ci## EllipsisMode<sup>11+</sup> 742e41f4b71Sopenharmony_ci 743e41f4b71Sopenharmony_ci**Widget capability**: This API can be used in ArkTS widgets since API version 11. 744e41f4b71Sopenharmony_ci 745e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 746e41f4b71Sopenharmony_ci 747e41f4b71Sopenharmony_ci| Name | Description | 748e41f4b71Sopenharmony_ci| ----- | -------------------------------------- | 749e41f4b71Sopenharmony_ci| START | An ellipsis is used at the start of the line of text.| 750e41f4b71Sopenharmony_ci| CENTER | An ellipsis is used at the center of the line of text.| 751e41f4b71Sopenharmony_ci| END | An ellipsis is used at the end of the line of text.| 752e41f4b71Sopenharmony_ci 753e41f4b71Sopenharmony_ci## ArrowPointPosition<sup>11+</sup> 754e41f4b71Sopenharmony_ci 755e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 756e41f4b71Sopenharmony_ci 757e41f4b71Sopenharmony_ci| Name | Description | 758e41f4b71Sopenharmony_ci| ------------- | -------------------------------------- | 759e41f4b71Sopenharmony_ci| START | On the leftmost side of the parent component in the horizontal layout; on the top of the parent component in the vertical layout.| 760e41f4b71Sopenharmony_ci| CENTER | In the center of the parent component.| 761e41f4b71Sopenharmony_ci| END | On the rightmost side of the parent component in the horizontal layout; at the bottom of the parent component in the vertical layout.| 762e41f4b71Sopenharmony_ci 763e41f4b71Sopenharmony_ci## OptionWidthMode<sup>11+</sup> 764e41f4b71Sopenharmony_ci 765e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 766e41f4b71Sopenharmony_ci 767e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 768e41f4b71Sopenharmony_ci 769e41f4b71Sopenharmony_ci| Name | Description | 770e41f4b71Sopenharmony_ci| ----------- | ------------------------------ | 771e41f4b71Sopenharmony_ci| FIT_CONTENT | Uses the default width, that is, width of two columns. | 772e41f4b71Sopenharmony_ci| FIT_TRIGGER | Inherits the width of the drop-down list button.| 773e41f4b71Sopenharmony_ci 774e41f4b71Sopenharmony_ci## SelectionMenuOptions<sup>11+</sup> 775e41f4b71Sopenharmony_ci 776e41f4b71Sopenharmony_ciProvides the span range information. 777e41f4b71Sopenharmony_ci 778e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 779e41f4b71Sopenharmony_ci 780e41f4b71Sopenharmony_ci| Name| Type | Read Only| Mandatory | Description | 781e41f4b71Sopenharmony_ci| ------ | ------ | ------ | ------ | -------------------------------------- | 782e41f4b71Sopenharmony_ci| onAppear | [MenuOnAppearCallback](ts-basic-components-richeditor.md#menuonappearcallback12) | No| No| Callback invoked when the custom context menu on selection is displayed.| 783e41f4b71Sopenharmony_ci| onDisappear | () => void | No| No| Callback invoked when the custom context menu on selection is closed.| 784e41f4b71Sopenharmony_ci 785e41f4b71Sopenharmony_ci## DismissReason<sup>12+</sup> 786e41f4b71Sopenharmony_ci 787e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 788e41f4b71Sopenharmony_ci 789e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 790e41f4b71Sopenharmony_ci 791e41f4b71Sopenharmony_ci| Name | Value | Description | 792e41f4b71Sopenharmony_ci| ------------- | ---- | ------------------------------------------------------------ | 793e41f4b71Sopenharmony_ci| PRESS_BACK | 0 | Touching the Back button, swiping left or right on the screen, or pressing the Esc key. | 794e41f4b71Sopenharmony_ci| TOUCH_OUTSIDE | 1 | Touching the mask. | 795e41f4b71Sopenharmony_ci| CLOSE_BUTTON | 2 | Touching the Close button. | 796e41f4b71Sopenharmony_ci| SLIDE_DOWN | 3 | Sliding down.<br>**NOTE**<br>This API is effective only in [sheet transition]ts-universal-attributes-sheet-transition.md).| 797e41f4b71Sopenharmony_ci 798e41f4b71Sopenharmony_ci## ChainStyle<sup>12+</sup> 799e41f4b71Sopenharmony_ci 800e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 801e41f4b71Sopenharmony_ci 802e41f4b71Sopenharmony_ciDefines the chain style. 803e41f4b71Sopenharmony_ci 804e41f4b71Sopenharmony_ci| Name | Description | 805e41f4b71Sopenharmony_ci| ------ | ----------------------------- | 806e41f4b71Sopenharmony_ci| SPREAD | Child components are evenly distributed among constraint anchors. For details, see [Example 7 in RelativeContainer](ts-container-relativecontainer.md#example-7).| 807e41f4b71Sopenharmony_ci| SPREAD_INSIDE | All child components except the first and last ones are evenly distributed among constraint anchors. For details, see [Example 7 in RelativeContainer](ts-container-relativecontainer.md#example-7). | 808e41f4b71Sopenharmony_ci| PACKED | There is no gap between child components in the chain. For details, see [Example 7 in RelativeContainer](ts-container-relativecontainer.md#example-7). | 809e41f4b71Sopenharmony_ci 810e41f4b71Sopenharmony_ci## BarrierDirection<sup>12+</sup> 811e41f4b71Sopenharmony_ci 812e41f4b71Sopenharmony_ciDefines the barrier direction. 813e41f4b71Sopenharmony_ci 814e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 815e41f4b71Sopenharmony_ci 816e41f4b71Sopenharmony_ci| Name | Description | 817e41f4b71Sopenharmony_ci| ------ | ----------------------------- | 818e41f4b71Sopenharmony_ci| LEFT | The barrier is on the left side of all the referenced components specified by [referencedId](ts-container-relativecontainer.md#barrierstyle12). | 819e41f4b71Sopenharmony_ci| RIGHT | The barrier is on the right side of all the referenced components specified by [referencedId](ts-container-relativecontainer.md#barrierstyle12). | 820e41f4b71Sopenharmony_ci| TOP | The barrier is at the top of all the referenced components specified by [referencedId](ts-container-relativecontainer.md#barrierstyle12). | 821e41f4b71Sopenharmony_ci| BOTTOM | The barrier is at the top of all the referenced components specified by [referencedId](ts-container-relativecontainer.md#barrierstyle12).| 822e41f4b71Sopenharmony_ci 823e41f4b71Sopenharmony_ci## PixelRoundCalcPolicy<sup>11+</sup> 824e41f4b71Sopenharmony_ci 825e41f4b71Sopenharmony_ciDefines the pixel-level rounding policy for component boundaries. 826e41f4b71Sopenharmony_ci 827e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 828e41f4b71Sopenharmony_ci 829e41f4b71Sopenharmony_ci| Name | Description | 830e41f4b71Sopenharmony_ci| ------ | ----------------------------- | 831e41f4b71Sopenharmony_ci| NO_FORCE_ROUND | The value is not rounded off.| 832e41f4b71Sopenharmony_ci| FORCE_CEIL | The value is rounded up to the nearest integer.| 833e41f4b71Sopenharmony_ci| FORCE_FLOOR | The value is rounded down to the nearest integer.| 834e41f4b71Sopenharmony_ci 835e41f4b71Sopenharmony_ci## TextDecorationStyle<sup>12+</sup> 836e41f4b71Sopenharmony_ci 837e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 838e41f4b71Sopenharmony_ci 839e41f4b71Sopenharmony_ci| Name | Description | 840e41f4b71Sopenharmony_ci| ----------- | --------- | 841e41f4b71Sopenharmony_ci| SOLID | Single solid line (default value). | 842e41f4b71Sopenharmony_ci| DOUBLE | Double solid line.| 843e41f4b71Sopenharmony_ci| DOTTED | Dotted line. | 844e41f4b71Sopenharmony_ci| DASHED | Dashed line.| 845e41f4b71Sopenharmony_ci| WAVY | Wavy line.| 846e41f4b71Sopenharmony_ci 847e41f4b71Sopenharmony_ci## FlexSpaceOptions<sup>12+</sup> 848e41f4b71Sopenharmony_ci 849e41f4b71Sopenharmony_ci| Name | Type | Read Only | Mandatory | Description | 850e41f4b71Sopenharmony_ci| ----------- | --------- | ----------- | --------- |----------- | 851e41f4b71Sopenharmony_ci| main | [LengthMetrics](../js-apis-arkui-graphics.md#lengthmetrics12) | No| No| Space on the main axis of the flex container.<br> space: {main: LengthMetrics.unit(value)} | 852e41f4b71Sopenharmony_ci| cross | [LengthMetrics](../js-apis-arkui-graphics.md#lengthmetrics12) | No| No| Space on the cross axis of the flex container.<br> space: {cross: LengthMetrics.unit(value)} | 853e41f4b71Sopenharmony_ci 854e41f4b71Sopenharmony_ci## MenuPolicy<sup>12+</sup> 855e41f4b71Sopenharmony_ci 856e41f4b71Sopenharmony_ciDefines the menu display policy. 857e41f4b71Sopenharmony_ci 858e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 859e41f4b71Sopenharmony_ci 860e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 861e41f4b71Sopenharmony_ci 862e41f4b71Sopenharmony_ci| Name | Value | Description | 863e41f4b71Sopenharmony_ci| ------- | ---- | ---------------------------------- | 864e41f4b71Sopenharmony_ci| DEFAULT | 0 | Whether the menu is displayed depends on the underlying default logic.| 865e41f4b71Sopenharmony_ci| HIDE | 1 | The menu is always hidden. | 866e41f4b71Sopenharmony_ci| SHOW | 2 | The menu is always displayed. | 867e41f4b71Sopenharmony_ci 868e41f4b71Sopenharmony_ci## EmbeddedType<sup>12+</sup> 869e41f4b71Sopenharmony_ciEnumerates the types of the providers that can be started by the **\<EmbeddedComponent>**. 870e41f4b71Sopenharmony_ci 871e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 872e41f4b71Sopenharmony_ci 873e41f4b71Sopenharmony_ci| Name | Value| Description | 874e41f4b71Sopenharmony_ci| --------------------- | - | ---------------------------------------------------- | 875e41f4b71Sopenharmony_ci| EMBEDDED_UI_EXTENSION | 0 | EmbeddedUIExtensionAbility.| 876e41f4b71Sopenharmony_ci 877e41f4b71Sopenharmony_ci## MarqueeUpdateStrategy<sup>12+</sup> 878e41f4b71Sopenharmony_ci 879e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 880e41f4b71Sopenharmony_ci 881e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 882e41f4b71Sopenharmony_ci 883e41f4b71Sopenharmony_ci| Name | Value | Description | 884e41f4b71Sopenharmony_ci| ---------- | ------------------------ | ------------------------ | 885e41f4b71Sopenharmony_ci| DEFAULT | 0 | After the marquee attributes are updated, the marquee scrolls from the start position. | 886e41f4b71Sopenharmony_ci| PRESERVE_POSITION | 1 | After the marquee attributes are updated, the marquee scrolls from the current position.| 887e41f4b71Sopenharmony_ci 888e41f4b71Sopenharmony_ci## AppRotation<sup>12+</sup> 889e41f4b71Sopenharmony_ci 890e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 891e41f4b71Sopenharmony_ci 892e41f4b71Sopenharmony_ci| Name | Description | 893e41f4b71Sopenharmony_ci| ------ | ----------------------------- | 894e41f4b71Sopenharmony_ci| ROTATION_0 | 0 degrees.| 895e41f4b71Sopenharmony_ci| ROTATION_90 |90 degrees.| 896e41f4b71Sopenharmony_ci| ROTATION_180 | 180 degrees.| 897e41f4b71Sopenharmony_ci| ROTATION_270 | 270 degrees.| 898e41f4b71Sopenharmony_ci 899e41f4b71Sopenharmony_ci## BlurStyleActivePolicy<sup>13+</sup> 900e41f4b71Sopenharmony_ci 901e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 13. 902e41f4b71Sopenharmony_ci 903e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 904e41f4b71Sopenharmony_ci 905e41f4b71Sopenharmony_ci| Name | Description | 906e41f4b71Sopenharmony_ci| ------ | ----------------------------- | 907e41f4b71Sopenharmony_ci| ALWAYS_ACTIVE | The blur effect is always active.| 908e41f4b71Sopenharmony_ci| FOLLOWS_WINDOW_ACTIVE_STATE | The blur effect changes according to the window's focus state; it is inactive when the window is not in focus and active when the window is in focus.| 909e41f4b71Sopenharmony_ci| ALWAYS_INACTIVE | The blur effect is always inactive.| 910e41f4b71Sopenharmony_ci 911e41f4b71Sopenharmony_ci## BlurType<sup>13+</sup> 912e41f4b71Sopenharmony_ci 913e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 13. 914e41f4b71Sopenharmony_ci 915e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 916e41f4b71Sopenharmony_ci 917e41f4b71Sopenharmony_ci| Name | Description | 918e41f4b71Sopenharmony_ci| ------ | ----------------------------- | 919e41f4b71Sopenharmony_ci| WITHIN_WINDOW | The blur effect is applied within the window.| 920e41f4b71Sopenharmony_ci| BEHIND_WINDOW | The blur effect is applied behind the window.| 921e41f4b71Sopenharmony_ci 922e41f4b71Sopenharmony_ci## ScrollSource<sup>12+</sup> 923e41f4b71Sopenharmony_ci 924e41f4b71Sopenharmony_ciEnumerates the sources of scroll operations. 925e41f4b71Sopenharmony_ci 926e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 927e41f4b71Sopenharmony_ci 928e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 929e41f4b71Sopenharmony_ci 930e41f4b71Sopenharmony_ci| Name | Value | Description | 931e41f4b71Sopenharmony_ci| ------ | ------ | ---------------------------------------- | 932e41f4b71Sopenharmony_ci| DRAG | 0 | Drag event.| 933e41f4b71Sopenharmony_ci| FLING | 1 | Inertia scrolling after the drag ends.| 934e41f4b71Sopenharmony_ci| EDGE_EFFECT | 2 | Edge scrolling effect with **EdgeEffect.Spring**.| 935e41f4b71Sopenharmony_ci| OTHER_USER_INPUT | 3 | Other user inputs aside from dragging, such as those from the mouse wheel and keyboard events.| 936e41f4b71Sopenharmony_ci| SCROLL_BAR | 4 | Drag event from the scrollbar.| 937e41f4b71Sopenharmony_ci| SCROLL_BAR_FLING | 5 | Inertia scrolling with velocity after the scrollbar is released.| 938e41f4b71Sopenharmony_ci| SCROLLER | 6 | Non-animated methods of the **Scroller** object.| 939e41f4b71Sopenharmony_ci| SCROLLER_ANIMATION | 7 | Animated methods of the **Scroller** object.| 940e41f4b71Sopenharmony_ci 941e41f4b71Sopenharmony_ci## ImageSpanAlignment<sup>10+</sup> 942e41f4b71Sopenharmony_ci 943e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 944e41f4b71Sopenharmony_ci 945e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 946e41f4b71Sopenharmony_ci 947e41f4b71Sopenharmony_ci| Name | Description | 948e41f4b71Sopenharmony_ci| -------- | ------------------------------ | 949e41f4b71Sopenharmony_ci| TOP | The image is top aligned with the line. | 950e41f4b71Sopenharmony_ci| CENTER | The image is centered aligned with the line. | 951e41f4b71Sopenharmony_ci| BOTTOM | The image is bottom aligned with the line. | 952e41f4b71Sopenharmony_ci| BASELINE | The image is bottom aligned with the text baseline.| 953