openharmony 鸿蒙 ts-information-display-common

2026-08-25 浏览 (1)

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

NameTypeRead-OnlyOptionalDescription
radiusnumber |ResourceNoYesShadow 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.
offsetXnumber |ResourceNoYesX-axis offset.
There is no value range restriction for the number type.
Default value: 5
Unit: vp.
offsetYnumber |ResourceNoYesY-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

openharmony 鸿蒙 ohos-arkui-advanced-DialogV2

openharmony 鸿蒙 ts-components-canvas-canvas

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