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

Method getPlotObjectStyle

ij/src/main/java/ij/gui/Plot.java:1488–1490  ·  view source on GitHub ↗

Get the style of the i-th PlotObject (curve, label, ...) in the sequence they were added (including hidden ones), as String with comma delimiters: Main Color, Secondary Color (or "none"), Line Width [, Symbol shape for XY_DATA] [,hidden] PlotObjects here refers to curves, arrows, labels etc. (not

(int i)

Source from the content-addressed store, hash-verified

1486 * PlotObjects here refers to curves, arrows, labels etc.
1487 * (not legend, exes and frame, though implemented as PlotObjects) */
1488 public String getPlotObjectStyle(int i) {
1489 return getPlotObjectStyle(allPlotObjects.get(i));
1490 }
1491
1492 String getPlotObjectStyle(PlotObject plotObject) {
1493 String styleString = Colors.colorToString(plotObject.color) + "," +

Callers 3

useTemplateMethod · 0.95
setDialogStyleFieldsMethod · 0.80
suggestColorMethod · 0.80

Calls 3

colorToStringMethod · 0.95
hasFlagMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected