openharmony 鸿蒙 capi-arkui-nativemodule-arkui-pickerindicatorbackground

2026-08-25 浏览 (1)

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

NameDescription
uint32_t backgroundColorBackground color of the selected item.
Default value: 0
Value range: 0xARGB format, for example, 0xFF1122FF.
float topLeftRadiusRadius 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 topRightRadiusRadius 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 bottomLeftRadiusRadius 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 bottomRightRadiusRadius 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

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/7g1TbZhB