diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 68bd6887d748331a802c0f5cc8b984a6889d83df..20d3994c247e35d4d5210230cc0fc758f811aad5 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -626,8 +626,8 @@ typedef enum { * .value[0]?.f32: blur radius of the shadow, in vp.\n * .value[1]?.i32: whether to enable the coloring strategy. The value 1 means to enable the coloring * strategy, and 0 (default value) means the opposite.\n - * .value[2]?.f32: offset of the shadow along the x-axis, in vp.\n - * .value[3]?.f32: offset of the shadow along the y-axis, in vp.\n + * .value[2]?.f32: offset of the shadow along the x-axis, in px.\n + * .value[3]?.f32: offset of the shadow along the y-axis, in px.\n * .value[4]?.i32: shadow type {@link ArkUI_ShadowType}. The default value is ARKUI_SHADOW_TYPE_COLOR.\n * .value[5]?.u32: shadow color, in 0xARGB format. For example, 0xFFFF0000 indicates red.\n * .value[6]?.u32: whether to fill the shadow. The value 1 means to fill the shadow, and 0 @@ -637,8 +637,8 @@ typedef enum { * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].f32: blur radius of the shadow, in vp.\n * .value[1].i32: whether to enable the coloring strategy. \n - * .value[2].f32: offset of the shadow along the x-axis, in vp.\n - * .value[3].f32: offset of the shadow along the y-axis, in vp.\n + * .value[2].f32: offset of the shadow along the x-axis, in px.\n + * .value[3].f32: offset of the shadow along the y-axis, in px.\n * .value[4].i32: shadow type {@link ArkUI_ShadowType}. The default value is ARKUI_SHADOW_TYPE_COLOR.\n * .value[5].u32: shadow color, in 0xARGB format. For example, 0xFFFF0000 indicates red.\n * .value[6].u32: whether to fill the shadow. The value 1 means to fill the shadow, and 0