188189190191192193194195196197198
int y1 = getY( di, currentValue ); if( props.getFillRadar() ) { Polygon p = new Polygon(); p.addPoint( c0, c1 ); p.addPoint( x0, y0 ); p.addPoint( x1, y1 ); // make color translucent if( paint instanceof Color ) {
189190191192193194195196197198199
if( props.getFillRadar() ) { Polygon p = new Polygon(); p.addPoint( c0, c1 ); p.addPoint( x0, y0 ); p.addPoint( x1, y1 ); // make color translucent if( paint instanceof Color ) { Color color = (Color) paint;
190191192193194195196197198199200
if( props.getFillRadar() ) { Polygon p = new Polygon(); p.addPoint( c0, c1 ); p.addPoint( x0, y0 ); p.addPoint( x1, y1 ); // make color translucent if( paint instanceof Color ) { Color color = (Color) paint; g.setPaint( new Color( color.getRed(), color.getGreen(),
11541155115611571158115911601161116211631164
* @see Graphics#fillPolygon(int[], int[], int) */ public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints) { Polygon poly = new Polygon(); for (int i = 0; i < nPoints; i++) { poly.addPoint(xPoints[i], yPoints[i]); } fill(poly); } /**