Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/text/
H A Dtext_declaration.cpp299 std::vector<std::string> textShadowProps; in ParseTextShadow() local
300 StringUtils::SplitStr(textShadowValue, " ", textShadowProps); in ParseTextShadow()
303 switch (static_cast<TextShadowSettings>(textShadowProps.size())) { in ParseTextShadow()
306 textShadow.SetOffsetX(declaration.ParseDouble(textShadowProps[pos++])); in ParseTextShadow()
307 textShadow.SetOffsetY(declaration.ParseDouble(textShadowProps[pos])); in ParseTextShadow()
311 if (IsValidDimension(textShadowProps[0])) { in ParseTextShadow()
314 if (IsValidDimension(textShadowProps[pos])) { in ParseTextShadow()
323 textShadow.SetColor(declaration.ParseColor(textShadowProps[pos++])); in ParseTextShadow()
329 if (IsValidDimension(textShadowProps[pos])) { in ParseTextShadow()
334 textShadow.SetColor(declaration.ParseColor(textShadowProps[pos])); in ParseTextShadow()
[all …]