Esempio n. 1
0
 public ClientTextView createTextDraw(float x, float y, string text, GTA.Font font, int color, byte alpha)
 {
     return(new ClientTextView(new PointF(x, y), text, font, Color.FromArgb(alpha, Color.FromArgb(color))));
 }
Esempio n. 2
0
 public ClientTextView createTextBoxDraw(float x, float y, float width, float height, byte alignment, string text, GTA.Font font, int color, byte alpha)
 {
     return(new ClientTextView(new RectangleF(x, y, width, height), (GTA.TextAlignment)alignment, text, font, Color.FromArgb(alpha, Color.FromArgb(color))));
 }