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

Method updateWideLine

ij/src/main/java/ij/gui/Roi.java:2076–2085  ·  view source on GitHub ↗
(float width)

Source from the content-addressed store, hash-verified

2074 }
2075
2076 public void updateWideLine(float width) {
2077 if (isLine()) {
2078 wideLine = true;
2079 setStrokeWidth(width);
2080 if (getStrokeColor()==null) {
2081 Color c = getColor();
2082 setStrokeColor(new Color(c.getRed(),c.getGreen(),c.getBlue(), 77));
2083 }
2084 }
2085 }
2086
2087 /** Set 'nonScalable' true to have TextRois in a display
2088 list drawn at a fixed location and size. */

Callers 5

updateRoiMethod · 0.95
makeLineMethod · 0.80
init2Method · 0.80
PolygonRoiMethod · 0.80
LineMethod · 0.80

Calls 8

isLineMethod · 0.95
setStrokeWidthMethod · 0.95
getStrokeColorMethod · 0.95
getColorMethod · 0.95
setStrokeColorMethod · 0.95
getRedMethod · 0.80
getGreenMethod · 0.80
getBlueMethod · 0.80

Tested by

no test coverage detected