ArkUI_PickerIndicatorBackground
typedef struct {...} ArkUI_PickerIndicatorBackground
Overview
Defines the style parameter of the background-style indicator.
Since: 23
Related module: ArkUI_NativeModule
Header file: native_type.h
Sample: native_type_sample
Summary
Member Variables
| Name | Description |
|---|---|
| uint32_t backgroundColor | Background color of the selected item. Default value: 0 Value range: 0xARGB format, for example, 0xFF1122FF. |
| float topLeftRadius | Radius of the upper left corner. Default value: 0 Unit: vp Value range: no more than half of the smaller value between the width and height of the selected item. Setting the style parameters for the background-style indicator fails when the value is less than 0. If the value is greater than the maximum value, the maximum value is used. |
| float topRightRadius | Radius of the upper right corner. Default value: 0 Unit: vp Value range: no more than half of the smaller value between the width and height of the selected item. Setting the style parameters for the background-style indicator fails when the value is less than 0. If the value is greater than the maximum value, the maximum value is used. |
| float bottomLeftRadius | Radius of the lower left corner. Default value: 0 Unit: vp Value range: no more than half of the smaller value between the width and height of the selected item. Setting the style parameters for the background-style indicator fails when the value is less than 0. If the value is greater than the maximum value, the maximum value is used. |
| float bottomRightRadius | Radius of the lower right corner. Default value: 0 Unit: vp Value range: no more than half of the smaller value between the width and height of the selected item. Setting the style parameters for the background-style indicator fails when the value is less than 0. If the value is greater than the maximum value, the maximum value is used. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 arkts-apis-uicontext-contextmenucontroller
openharmony 鸿蒙 errorcode-canvas
openharmony 鸿蒙 capi-oh-nativexcomponent-native-xcomponent-oh-nativexcomponent
openharmony 鸿蒙 errorcode-bindSheet
openharmony 鸿蒙 js-apis-arkui-uiExtension-sys
openharmony 鸿蒙 capi-arkui-accessibility-arkui-accessibilityeventinfo
openharmony 鸿蒙 capi-arkui-rendernodeutils
openharmony 鸿蒙 js-apis-arkui-node
openharmony 鸿蒙 capi-native-node-h
openharmony 鸿蒙 capi-arkui-nativemodule-arkui-listitemswipeactionitem