MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getBrushSize

Method getBrushSize

ij/src/main/java/ij/gui/Toolbar.java:1042–1047  ·  view source on GitHub ↗

Returns the size of the selection brush tool, or 0 if the brush tool is not enabled.

()

Source from the content-addressed store, hash-verified

1040
1041 /** Returns the size of the selection brush tool, or 0 if the brush tool is not enabled. */
1042 public static int getBrushSize() {
1043 if (ovalType==BRUSH_ROI)
1044 return brushSize;
1045 else
1046 return 0;
1047 }
1048
1049 /** Set the size of the selection brush tool, in pixels. */
1050 public static void setBrushSize(int size) {

Callers 7

addSelectionMethod · 0.95
addRoiToOverlayMethod · 0.95
mousePressedMethod · 0.95
handlePopupMenuMethod · 0.95
drawRoiBrushMethod · 0.95
handleMouseUpMethod · 0.95
runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected