public TextObject(string text, int x, int y, string font = "Arial", int size = 20) : base() { this.font = font; this.size = size; this.x = x; this.text = text; this.y = y; obj = new Entities.textObjectText(text, x, y, font, size); SetGraphic(obj); }
public void CenterOriginY() { obj = new Entities.textObjectText(this.text, x, y, font, size); obj.CenterOrigin(); SetGraphic(obj); }