- if(aa.threshold!=null)\r
- {\r
- g.setColor(aa.threshold.colour);\r
- Graphics2D g2 = (Graphics2D)g;\r
- g2.setStroke(new BasicStroke(1,\r
- BasicStroke.CAP_SQUARE,\r
- BasicStroke.JOIN_ROUND, 3f,\r
- new float[] { 5f, 3f }, 0f));\r
-\r
- y2 = (int)(y - ((aa.threshold.value-min) / range)*aa.graphHeight);\r
- g.drawLine(x-av.charWidth,y2,(eRes-sRes+1)*av.charWidth,y2);\r
- g2.setStroke(new BasicStroke());\r
- }\r
-\r