MCPcopy Create free account
hub / github.com/defold/defold / text

Method text

editor/src/java/com/defold/editor/UIUtil.java:77–81  ·  view source on GitHub ↗
(String str)

Source from the content-addressed store, hash-verified

75 }
76
77 private static Text text(String str) {
78 Text text = new Text(str);
79 text.getStyleClass().add("text");
80 return text;
81 }
82
83 private static String unescape(String str) {
84 return str.replace("\\n", "\n");

Callers 4

stringToTextFlowNodesMethod · 0.95
nFunction · 0.80

Calls 1

addMethod · 0.65

Tested by

no test coverage detected