public class AwtColoredAnnotation extends Annotation
Annotation.ATypeis2D, offsetX, offsetY, spec| Constructor and Description |
|---|
AwtColoredAnnotation(JDXSpectrum spec,
double x,
double y,
java.lang.String text,
java.awt.Color color,
boolean isPixels,
boolean is2D,
int offsetX,
int offsetY) |
| Modifier and Type | Method and Description |
|---|---|
static AwtColoredAnnotation |
getAnnotation(JDXSpectrum spec,
java.util.List<java.lang.String> args,
AwtColoredAnnotation lastAnnotation) |
java.awt.Color |
getColor() |
addSpecShift, getText, isPixels, setText, toStringapplyScale, applyShiftReference, copy, deltaX, equals, findXForPeakNearest, getMaxX, getMaxX, getMaxY, getMaxYUser, getMinX, getMinX, getMinY, getMinYUser, getNearestIndexForX, getNearestXWithYAbove, getXString, getXVal, getYString, getYVal, getYValueAt, intoRange, intoRange, isYInRange, normalise, parabolicInterpolation, parseDSV, removeScale, reverse, setXVal, setYValpublic AwtColoredAnnotation(JDXSpectrum spec, double x, double y, java.lang.String text, java.awt.Color color, boolean isPixels, boolean is2D, int offsetX, int offsetY)
public static AwtColoredAnnotation getAnnotation(JDXSpectrum spec, java.util.List<java.lang.String> args, AwtColoredAnnotation lastAnnotation)
public java.awt.Color getColor()