Information Display APIs
Provides APIs for displaying information in Gauge and DataPanel components.
NOTE
The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version.
MultiShadowOptions
Defines shadow style properties.
Widget capability: This API can be used in ArkTS widgets since API version 23.
Atomic service API: This API can be used in atomic services since API version 11.
System capability: SystemCapability.ArkUI.ArkUI.Full
| Name | Type | Read-Only | Optional | Description |
|---|---|---|---|---|
| radius | number |Resource | No | Yes | Shadow blur radius. The default value varies by API version. API version 10 and earlier versions: 5 Since API version 11: 20 Unit: vp. The value of the number type must be greater than 0. NOTE A value less than or equal to 0 is handled as the default value. |
| offsetX | number |Resource | No | Yes | X-axis offset. There is no value range restriction for the number type. Default value: 5 Unit: vp. |
| offsetY | number |Resource | No | Yes | Y-axis offset. There is no value range restriction for the number type. Default value: 5 Unit: vp. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 ts-drawing-components-shape
openharmony 鸿蒙 ts-universal-attributes-sharp-clipping
openharmony 鸿蒙 ts-universal-attributes-toolbar
openharmony 鸿蒙 ts-container-lazyvgridlayout
openharmony 鸿蒙 ohos-arkui-advanced-FoldSplitContainer
openharmony 鸿蒙 ts-methods-calendarpicker-dialog
openharmony 鸿蒙 ts-uicommonevent
openharmony 鸿蒙 ts-basic-gestures-tapgesture