Home
last modified time | relevance | path

Searched refs:shadowObj (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/
H A Djs_span_object.cpp626 JSRef<JSObject> shadowObj = objectTemplate->NewInstance(); in GetTextShadow() local
627 shadowObj->SetProperty<double>("radius", shadow.GetBlurRadius()); in GetTextShadow()
628 shadowObj->SetProperty<double>("offsetX", shadow.GetOffset().GetX()); in GetTextShadow()
629 shadowObj->SetProperty<double>("offsetY", shadow.GetOffset().GetY()); in GetTextShadow()
630 shadowObj->SetProperty<std::string>("color", shadow.GetColor().ColorToString()); in GetTextShadow()
631 shadowObj->SetProperty<int32_t>("type", static_cast<int32_t>(shadow.GetShadowType())); in GetTextShadow()
632 result->SetValueAt(index++, shadowObj); in GetTextShadow()