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

Method getPlotObject

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

Returns the PlotObject for xLabel ('x'), yLabel('y'), frame ('f'; includes number font) or the legend ('l').

(char c)

Source from the content-addressed store, hash-verified

4609
4610 /** Returns the PlotObject for xLabel ('x'), yLabel('y'), frame ('f'; includes number font) or the legend ('l'). */
4611 PlotObject getPlotObject(char c) {
4612 switch(c) {
4613 case 'x': return xLabel;
4614 case 'y': return yLabel;
4615 case 'f': return frame;
4616 case 'l': return legend;
4617 default: return null;
4618 }
4619 }
4620
4621 /** A shallow clone that does not duplicate arrays or objects */
4622 public PlotProperties clone() {

Callers 4

getFontMethod · 0.80
setFontMethod · 0.80
getLabelMethod · 0.80
getObjectFlagsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected