示例#1
0
 public ToolRectFill(EditArea editArea)
     : base(editArea)
 {
     borderPen           = new Pen(Color.LightBlue);
     borderPen.DashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
     editArea.Back1      = editArea.Back;
 }
示例#2
0
 public ToolCircle(EditArea editArea)
     : base(editArea)
 {
     borderPen           = new Pen(Color.Red);
     borderPen.DashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
     editArea.Back1      = editArea.Back;
 }
示例#3
0
 public ToolMark(EditArea editArea)
     : base(editArea)
 {
     progress            = Progress.Select;
     borderPen           = new Pen(Color.White);
     borderPen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
 }
示例#4
0
 public ToolPicker(EditArea editArea)
     : base(editArea)
 {
     ToolpickerSettings settings = new ToolpickerSettings();
     if (settings.ShowDialog() == DialogResult.OK)
     {
         ColorDialog cd = new ColorDialog();
         if (cd.ShowDialog() == DialogResult.OK)
         {
             Color2ID(cd.Color);
         }
     }
 }
示例#5
0
 public ToolSpray(EditArea editArea) : base(editArea)
 {
 }
示例#6
0
 public ToolLine(EditArea editArea)
     : base(editArea)
 {
     borderPen           = new Pen(Color.LightGreen);
     borderPen.DashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
 }
示例#7
0
文件: Tool.cs 项目: capasha/EEOEditor
 protected Tool(EditArea editArea)
 {
     this.editArea = editArea;
 }
示例#8
0
 public ToolDummy(EditArea editArea) : base(editArea)
 {
 }
示例#9
0
 public ToolPen(EditArea editArea)
     : base(editArea)
 {
 }
示例#10
0
 public ToolFill(EditArea editArea)
     : base(editArea)
 {
 }