Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_text_timer_bridge.cpp242 auto textShadowArray = std::make_unique<ArkUITextShadowStruct[]>(length); in SetTextShadow() local
243 CHECK_NULL_RETURN(textShadowArray.get(), panda::JSValueRef::Undefined(vm)); in SetTextShadow()
245 textShadowArray[i].radius = radiusArray[i]; in SetTextShadow()
246 textShadowArray[i].type = typeArray[i]; in SetTextShadow()
247 textShadowArray[i].color = colorArray[i]; in SetTextShadow()
248 textShadowArray[i].offsetX = offsetXArray[i]; in SetTextShadow()
249 textShadowArray[i].offsetY = offsetYArray[i]; in SetTextShadow()
250 textShadowArray[i].fill = fillArray[i]; in SetTextShadow()
252 …GetArkUINodeModifiers()->getTextTimerModifier()->setTextShadow(nativeNode, textShadowArray.get(), … in SetTextShadow()
H A Darkts_native_text_clock_bridge.cpp309 auto textShadowArray = std::make_unique<ArkUITextShadowStruct[]>(length); in SetTextShadow() local
310 CHECK_NULL_RETURN(textShadowArray.get(), panda::JSValueRef::Undefined(vm)); in SetTextShadow()
312 textShadowArray[i].radius = radiusArray[i]; in SetTextShadow()
313 textShadowArray[i].type = typeArray[i]; in SetTextShadow()
314 textShadowArray[i].color = colorArray[i]; in SetTextShadow()
315 textShadowArray[i].offsetX = offsetXArray[i]; in SetTextShadow()
316 textShadowArray[i].offsetY = offsetYArray[i]; in SetTextShadow()
317 textShadowArray[i].fill = fillArray[i]; in SetTextShadow()
319 …GetArkUINodeModifiers()->getTextClockModifier()->setTextShadow(nativeNode, textShadowArray.get(), … in SetTextShadow()
H A Darkts_native_span_bridge.cpp68 std::vector<ArkUITextShadowStruct>& textShadowArray) in ParseTextShadow() argument
108 textShadowArray.emplace_back(textShadow); in ParseTextShadow()
532 std::vector<ArkUITextShadowStruct> textShadowArray; in SetTextShadow() local
533 ParseTextShadow(runtimeCallInfo, length, textShadowArray); in SetTextShadow()
534 …GetArkUINodeModifiers()->getSpanModifier()->setTextShadow(nativeNode, textShadowArray.data(), leng… in SetTextShadow()
H A Darkts_native_text_bridge.cpp652 auto textShadowArray = std::make_unique<ArkUITextShadowStruct[]>(length); in SetTextShadow() local
653 CHECK_NULL_RETURN(textShadowArray.get(), panda::JSValueRef::Undefined(vm)); in SetTextShadow()
655 textShadowArray[i].radius = radiusArray[i]; in SetTextShadow()
656 textShadowArray[i].type = typeArray[i]; in SetTextShadow()
657 textShadowArray[i].color = colorArray[i]; in SetTextShadow()
658 textShadowArray[i].offsetX = offsetXArray[i]; in SetTextShadow()
659 textShadowArray[i].offsetY = offsetYArray[i]; in SetTextShadow()
660 textShadowArray[i].fill = fillArray[i]; in SetTextShadow()
662 …GetArkUINodeModifiers()->getTextModifier()->setTextShadow(nativeNode, textShadowArray.get(), lengt… in SetTextShadow()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_richeditor.cpp237 JSRef<JSArray> textShadowArray = JSRef<JSArray>::New(); in CreateJsTextShadowObjectArray() local
245 textShadowArray->SetValueAt(index, textShadowObj); in CreateJsTextShadowObjectArray()
248 return textShadowArray; in CreateJsTextShadowObjectArray()