Searched refs:GetNamePropertyFromJS (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.cpp | 124 bool GetNamePropertyFromJS(napi_env env, napi_value argValue, const std::string& str, napi_value& p… in GetNamePropertyFromJS() function 257 if (!GetNamePropertyFromJS(env, argValue, "textShadows", allShadowValue)) { in SetTextShadowProperty() 377 if (GetNamePropertyFromJS(env, argValue, "strutStyle", strutStyleValue)) { in GetParagraphStyleFromJS() 506 if (GetNamePropertyFromJS(env, strutStyleValue, "fontFamilies", tempValue)) { in SetStrutStyleFromJS() 535 if (!GetNamePropertyFromJS(env, argValue, "backgroundRect", tempValue)) { in SetRectStyleFromJS()
|
H A D | napi_common.h | 522 bool GetNamePropertyFromJS(napi_env env, napi_value argValue, const std::string& str, napi_value& p… 528 if (!GetNamePropertyFromJS(env, argValue, str, propertyValue)) { in SetEnumValueFromJS()
|