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