![]() |
BioCore
4.0.1
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images. Including whole slide, pyramidal, and series.
|
Classes | |
class | Tool |
Public Member Functions | |
void | UpdateOverlay () |
void | UpdateView () |
void | UpdateSelected () |
void | ToolDown (PointD e, MouseButtons buts) |
void | ToolUp (PointD e, MouseButtons buts) |
void | ToolMove (PointD e, MouseButtons buts) |
Static Public Member Functions | |
static Tool | GetTool (string name) |
static Tool | GetTool (Tool.Type typ) |
Public Attributes | |
Font | font |
Static Public Attributes | |
static bool | applyToStack = false |
static ColorTool | colorTool |
static bool | rEnabled = true |
static bool | gEnabled = true |
static bool | bEnabled = true |
static Rectangle | selectionRectangle |
static Hashtable | tools = new Hashtable() |
static Tool | currentTool |
static RectangleD | selectionRect |
static float | selectBoxSize = ROI.selectBoxSize |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Clean up any resources being used. More... | |
Properties | |
static ColorS | DrawColor [get, set] |
static ColorS | EraseColor [get, set] |
static int | StrokeWidth [get, set] |
|
protected |
Clean up any resources being used.
disposing | true if managed resources should be disposed; otherwise, false. |
Definition at line 14 of file Tools.Designer.cs.
void BioCore.Tools.ToolDown | ( | PointD | e, |
MouseButtons | buts | ||
) |
The function is called when the user clicks the mouse button.
The function checks if the user is using the line, polygon, freeform, rectangle, ellipse, delete, or text tool.
If the user is using the line tool, the function creates a new ROI object and adds it to the image's annotations.
If the user is using the polygon tool, the function creates a new ROI object and adds it to the image's annotations.
If the user is using the freeform tool, the function creates a new ROI object and adds it to the image's annotations.
If the user is using the rectangle tool, the function creates a new ROI object and adds it to the image's annotations.
If the user is using the ellipse tool, the function creates a new ROI object and adds it to the image's annotations.
If
PointD | A point with double precision |
MouseButtons | A set of values that indicate which mouse button was pressed. |
void BioCore.Tools.ToolMove | ( | PointD | e, |
MouseButtons | buts | ||
) |
void BioCore.Tools.ToolUp | ( | PointD | e, |
MouseButtons | buts | ||
) |
void BioCore.Tools.UpdateSelected | ( | ) |
|
static |
|
static |