|
| | Tool (Type t) |
| |
| | Tool (Type t, ColorS col) |
| |
| | Tool (Type t, RectangleD r) |
| |
| | Tool (Type t, string sc) |
| |
| override string | ToString () |
| |
Definition at line 39 of file Tools.cs.
◆ ToolType
| enum BioImager.Tools.Tool.ToolType |
Definition at line 41 of file Tools.cs.
42 {
43 color,
44 annotation,
45 select,
46 function
47 }
◆ Type
| enum BioImager.Tools.Tool.Type |
Definition at line 48 of file Tools.cs.
49 {
50 pencil,
51 brush,
52 bucket,
53 eraser,
54 move,
55 point,
56 line,
57 rect,
58 ellipse,
59 polyline,
60 polygon,
61 text,
62 delete,
63 freeform,
64 rectSel,
65 pointSel,
66 pan,
67 magic,
68 script,
69 dropper
70 }
◆ Tool() [1/5]
| BioImager.Tools.Tool.Tool |
( |
| ) |
|
Definition at line 97 of file Tools.cs.
98 {
99 tolerance = new ColorS(0, 0, 0);
100 }
◆ Tool() [2/5]
| BioImager.Tools.Tool.Tool |
( |
Type |
t | ) |
|
Definition at line 101 of file Tools.cs.
102 {
103 type = t;
104 tolerance = new ColorS(0, 0, 0);
105 }
◆ Tool() [3/5]
| BioImager.Tools.Tool.Tool |
( |
Type |
t, |
|
|
ColorS |
col |
|
) |
| |
Definition at line 106 of file Tools.cs.
107 {
108 type = t;
109 tolerance = new ColorS(0, 0, 0);
110 }
◆ Tool() [4/5]
| BioImager.Tools.Tool.Tool |
( |
Type |
t, |
|
|
RectangleD |
r |
|
) |
| |
Definition at line 111 of file Tools.cs.
112 {
113 type = t;
114 rect = r;
115 tolerance = new ColorS(0, 0, 0);
116 }
◆ Tool() [5/5]
| BioImager.Tools.Tool.Tool |
( |
Type |
t, |
|
|
string |
sc |
|
) |
| |
Definition at line 117 of file Tools.cs.
118 {
119 type = t;
120 script = sc;
121 tolerance = new ColorS(0, 0, 0);
122 }
◆ Init()
| static void BioImager.Tools.Tool.Init |
( |
| ) |
|
|
static |
Definition at line 72 of file Tools.cs.
73 {
74 if (tools.Count == 0)
75 {
76 foreach (Tool.Type tool in (Tool.Type[])Enum.GetValues(typeof(Tool.Type)))
77 {
78 tools.Add(tool.ToString(), new Tool(tool, new ColorS(0, 0, 0)));
79 }
80 }
81 }
◆ ToString()
| override string BioImager.Tools.Tool.ToString |
( |
| ) |
|
Definition at line 123 of file Tools.cs.
124 {
125 return type.ToString();
126 }
◆ Points
| List<System.Drawing.Point> BioImager.Tools.Tool.Points |
◆ script
| string BioImager.Tools.Tool.script |
◆ tolerance
| ColorS BioImager.Tools.Tool.tolerance |
◆ toolType
| ToolType BioImager.Tools.Tool.toolType |
◆ type
| Type BioImager.Tools.Tool.type |
◆ Rectangle
| RectangleD BioImager.Tools.Tool.Rectangle |
|
getset |
Definition at line 85 of file Tools.cs.
86 {
87 get { return rect; }
88 set { rect = value; }
89 }
◆ RectangleF
| AForge.RectangleF BioImager.Tools.Tool.RectangleF |
|
get |
Definition at line 90 of file Tools.cs.
91 {
92 get { return new AForge.RectangleF((float)rect.X, (float)rect.Y, (float)rect.W, (float)rect.H); }
93 }
The documentation for this class was generated from the following file:
- F:/repos/BioImager/BioImager/Source/Tools.cs