Esempio n. 1
0
 public void DrawTextWithShadow(string text, float2 location, Color fg, Color bgDark, Color bgLight, int offset)
 {
     DrawTextWithShadow(text, location, fg, WidgetUtils.GetContrastColor(fg, bgDark, bgLight), offset);
 }
Esempio n. 2
0
 public void DrawTextWithContrast(string text, Vector2 location, Color fg, Color bgDark, Color bgLight, int offset)
 {
     DrawTextWithContrast(text, location, fg, WidgetUtils.GetContrastColor(fg, bgDark, bgLight), offset);
 }