public My_Text(EntityDrawningCore core) : base(core) { Text = "Hello World"; Font = new Font("Times New Roman", 10); brush = new My_SolidBrush(Color.Black); pen = new My_Pen(Color.Empty); draw = Draw; mouse_move = MouseMoveCreateNew; mouse_down = MouseDownCreateNew; mouse_up = MouseUpCreateNew; }
public My_Text(EntityDrawningCore core, string Text, Point pt) : base(core) { this.core = core; this.Text = Text; Font = new Font("Times New Roman", 10); brush = new My_SolidBrush(Color.Black); center_point = pt; pen = new My_Pen(Color.Empty); draw = Draw; mouse_move = MouseMove; mouse_down = MouseDown; mouse_up = MouseUp; }