Exemple #1
0
 public void SetShowFPS(bool showFps)
 {
     this.isFPS = showFps;
     if (showFps && fpsFont == null)
     {
         this.fpsFont = new LSTRFont(LFont.GetFont(20), pFontString);
     }
 }
Exemple #2
0
 public static LImage CreateFontImage(string fontName, int style, int size,
                                      LColor color, string text)
 {
     return(CreateFontImage(LFont.GetFont(fontName, style, size), color,
                            text));
 }
Exemple #3
0
 public void SetFont(string fontName, int type, int size)
 {
     SetFont(LFont.GetFont(fontName, type, size));
 }
Exemple #4
0
 public Label(string label, string font, int type, int size, int x, int y) : this(LFont.GetFont(font, type, size), label, x, y)
 {
 }