MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetFont

Method GetFont

Source/Engine/UI/GUI/Common/TextBox.cs:160–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 }
159
160 private Font GetFont()
161 {
162 Font font;
163 if (Bold)
164 font = Italic ? Font.GetBold().GetItalic().GetFont() : Font.GetBold().GetFont();
165 else if (Italic)
166 font = Font.GetItalic().GetFont();
167 else
168 font = Font.GetFont();
169 return font;
170 }
171
172 private string ConvertedText()
173 {

Callers

nothing calls this directly

Calls 2

GetItalicMethod · 0.45
GetBoldMethod · 0.45

Tested by

no test coverage detected