Bug 179431 [Automation]Chart background color issue[0602]
Details: [Automation]Chart background color issue[0602] Step: 1. Add a chart and set output format as jpg/bmp. 2. Add a chart and set output format as png/svg. Actual result: Step 1: Background color of chart is baby blue. Step 2: Background color of chart is black.
chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
* 
	 * @param shape
	 * @return
	 */
	private String shape2polyCoords( Shape shape )
	{
		if ( shape == null )
		{
			return null;
		}
		ArrayList al = new ArrayList( );
		PathIterator pitr = shape.getPathIterator( null );
		double[] data = new double[6];
		
		while ( !pitr.isDone( ) )
		{
			int type = pitr.currentSegment( data );
			switch ( type )
			{
				case PathIterator.SEG_MOVETO :
					al.add( new Double( data[0] ) );
					al.add( new Double( data[1] ) );
					break;
				case PathIterator.SEG_LINETO :
					al.add( new Double( data[0] ) );
					al.add( new Double( data[1] ) );
					break;
				case PathIterator.SEG_QUADTO :
					al.add( new Double( data[0] ) );
					al.add( new Double( data[1] ) );