Hello!
How can I change color and thickness from a LineAnnotation?
XYLineAnnotation
Use the constructor that allows you specify the values
The stroke argument determines the line width, dotted/dashed etc
The paint argument determines the color
Code: Select all
XYLineAnnotation(double x1, double y1, double x2, double y2, java.awt.Stroke stroke, java.awt.Paint paint)
The paint argument determines the color