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

Method setFillColor

ij/src/main/java/ij/gui/Roi.java:2015–2019  ·  view source on GitHub ↗

Sets the fill color used to display this ROI, or set to null to display it transparently. @see #getFillColor @see #setStrokeColor

(Color color)

Source from the content-addressed store, hash-verified

2013 * @see #setStrokeColor
2014 */
2015 public void setFillColor(Color color) {
2016 fillColor = color;
2017 if (fillColor!=null && (isArea()&&!(this instanceof TextRoi)))
2018 strokeColor=null;
2019 }
2020
2021 /** Returns the fill color used to display this ROI, or null if it is displayed transparently.
2022 * @see #setFillColor

Callers 15

overlayAddSelectionMethod · 0.95
doRoiMethod · 0.95
dialogItemChangedMethod · 0.95
drawBarAsOverlayMethod · 0.95
measureMethod · 0.95
addSelectionMethod · 0.95
optionsMethod · 0.95
createScaleBarOverlayMethod · 0.95
setPropertiesMethod · 0.95
drawOutlineMethod · 0.95
cloneMethod · 0.95
setOverlayMethod · 0.45

Calls 1

isAreaMethod · 0.95

Tested by

no test coverage detected