Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_richeditor.cpp1091 auto fontObject = object->GetProperty("font"); in SetPlaceholder() local
1092 if (fontObject->IsObject()) { in SetPlaceholder()
1093 ParseJsFont(fontObject, font); in SetPlaceholder()
1115 void JSRichEditor::ParseJsFont(const JSRef<JSObject>& fontObject, Font& font) in ParseJsFont() argument
1117 if (fontObject->IsUndefined()) { in ParseJsFont()
1120 JSRef<JSVal> fontSize = fontObject->GetProperty("size"); in ParseJsFont()
1132 JSRef<JSVal> fontStyle = fontObject->GetProperty("style"); in ParseJsFont()
1137 JSRef<JSVal> fontWeight = fontObject->GetProperty("weight"); in ParseJsFont()
1148 JSRef<JSVal> fontFamily = fontObject->GetProperty("family"); in ParseJsFont()
H A Djs_richeditor.h93 static void ParseJsFont(const JSRef<JSObject>& fontObject, Font& font);