protected void DrawString(IGraphicsContext g, string s, Brush brush, int thickness, Point point, FontStyle fontStyle) { IDrawStringContext context = new DrawStringContext(s, thickness, StateColor, fontStyle); g.DrawString(context, brush, point, false); }
public void DrawString(string s, Brush brush, int thickness, Point point, bool centreAroundPoint) { DrawStringContext context = new DrawStringContext(s, thickness, color, FontStyle.Regular); DrawString(context, brush, point, centreAroundPoint); }
protected void DrawString(IGraphicsContext g, string s, Brush brush, int thickness, Point point, FontStyle fontStyle) { IDrawStringContext context = new DrawStringContext (s, thickness, StateColor, fontStyle); g.DrawString (context, brush, point, false); }