mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
!39781 按对外文档修复customShadow get接口顺序问题
Merge pull request !39781 from 邹林肯/cs
This commit is contained in:
commit
48ee7c3cfd
@ -2131,12 +2131,12 @@ const ArkUI_AttributeItem* GetCustomShadow(ArkUI_NodeHandle node)
|
||||
{
|
||||
ArkUICustomShadowOptions options;
|
||||
GetFullImpl()->getNodeModifiers()->getCommonModifier()->getCustomShadow(node->uiNodeHandle, &options);
|
||||
g_numberValues[NUM_0].i32 = options.radius;
|
||||
g_numberValues[NUM_1].f32 = options.offsetX;
|
||||
g_numberValues[NUM_2].f32 = options.offsetY;
|
||||
g_numberValues[NUM_3].i32 = options.shadowType;
|
||||
g_numberValues[NUM_4].u32 = options.color;
|
||||
g_numberValues[NUM_5].i32 = options.colorStrategy;
|
||||
g_numberValues[NUM_0].f32 = options.radius;
|
||||
g_numberValues[NUM_1].i32 = options.colorStrategy;
|
||||
g_numberValues[NUM_2].f32 = options.offsetX;
|
||||
g_numberValues[NUM_3].f32 = options.offsetY;
|
||||
g_numberValues[NUM_4].i32 = options.shadowType;
|
||||
g_numberValues[NUM_5].u32 = options.color;
|
||||
g_numberValues[NUM_6].i32 = options.fill;
|
||||
return &g_attributeItem;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user