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