Package org.knowm.xchart
Class AnnotationText
java.lang.Object
org.knowm.xchart.internal.chartpart.Annotation
org.knowm.xchart.AnnotationText
- All Implemented Interfaces:
org.knowm.xchart.internal.chartpart.ChartPart
public class AnnotationText
extends org.knowm.xchart.internal.chartpart.Annotation
-
Field Summary
Fields inherited from class org.knowm.xchart.internal.chartpart.Annotation
bounds, chart, isValueInScreenSpace, isVisible, styler
Fields inherited from interface org.knowm.xchart.internal.chartpart.ChartPart
SOLID_STROKE
-
Constructor Summary
ConstructorDescriptionAnnotationText
(String text, double x, double y, boolean isValueInScreenSpace) Constructor -
Method Summary
Methods inherited from class org.knowm.xchart.internal.chartpart.Annotation
getBounds, getXAxisScreenValue, getXAxisScreenValueForMax, getXAxisScreenValueForMin, getYAxisScreenValue, getYAxisScreenValueForMax, getYAxisScreenValueForMin, init, setVisible
-
Field Details
-
x
protected double x -
y
protected double y
-
-
Constructor Details
-
AnnotationText
Constructor- Parameters:
text
-x
-y
-isValueInScreenSpace
-
-
-
Method Details
-
paint
-
setText
-
setX
public void setX(double x) -
setY
public void setY(double y)
-