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

Method getColor

ij/src/main/java/ij/plugin/Selection.java:903–905  ·  view source on GitHub ↗
(Color color)

Source from the content-addressed store, hash-verified

901 }
902
903 private String getColor(Color color) {
904 return "new Color("+color.getRed()+","+color.getGreen()+","+color.getBlue()+")";
905 }
906
907 private void makeBand(ImagePlus imp) {
908 Roi roi = imp.getRoi();

Callers 1

setPropertiesMethod · 0.95

Calls 3

getRedMethod · 0.80
getGreenMethod · 0.80
getBlueMethod · 0.80

Tested by

no test coverage detected