Sets the fill color used to display this ROI, or set to null to display it transparently. @see #getFillColor @see #setStrokeColor
(Color color)
| 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 |
no test coverage detected