afreechart/src/main/java/org/afree/chart/plot/DefaultDrawingSupplier.java
/**
     * Creates an array of standard shapes to display for the items in series on
     * charts.
     * 
     * @return The array of shapes.
     */
Creates an array of standard shapes to display for the items in series on
charts.

@return The array of shapes.
Creates an array of standard shapes to display for the items in series on charts . @return The array of shapes .
public static Shape[] createStandardSeriesShapes() {
        Shape[] result = new Shape[10];
        double size = 6.0;
        double delta = size / 2.0;
        int[] xpoints = null;
        int[] ypoints = null;
        result[0] = new RectShape(-delta, -delta, size, size);
        result[1] = new OvalShape(-delta, -delta, size, size);
        xpoints = intArray(0.0, delta, -delta);
        ypoints = intArray(-delta, delta, delta);
        result[2] = new Polygon(xpoints, ypoints, 3);
        xpoints = intArray(0.0, delta, 0.0, -delta);
        ypoints = intArray(-delta, 0.0, delta, 0.0);
        result[3] = new Polygon(xpoints, ypoints, 4);
        result[4] = new RectShape(-delta, -delta / 2, size, size / 2);
        xpoints = intArray(-delta, +delta, 0.0);
        ypoints = intArray(-delta, -delta, delta);
        result[5] = new Polygon(xpoints, ypoints, 3);
        result[6] = new OvalShape(-delta, -delta / 2, size, size / 2);
        xpoints = intArray(-delta, delta, -delta);
        ypoints = intArray(-delta, 0.0, delta);
        result[7] = new Polygon(xpoints, ypoints, 3);
        result[8] = new RectShape(-delta / 2, -delta, size / 2, size);
        xpoints = intArray(-delta, delta, delta);
        ypoints = intArray(0.0, -delta, +delta);
        result[9] = new Polygon(xpoints, ypoints, 3);
        return result;
    }
public static Shape [ ] createStandardSeriesShapes ( ) { Shape [ ] result = new Shape [ 10 ] ; double size = 6.0 ; double delta = size / 2.0 ; int [ ] xpoints = null ; int [ ] ypoints = null ; result [ 0 ] = new RectShape ( - delta , - delta , size , size ) ; result [ 1 ] = new OvalShape ( - delta , - delta , size , size ) ; xpoints = intArray ( 0.0 , delta , - delta ) ; ypoints = intArray ( - delta , delta , delta ) ; result [ 2 ] = new Polygon ( xpoints , ypoints , 3 ) ; xpoints = intArray ( 0.0 , delta , 0.0 , - delta ) ; ypoints = intArray ( - delta , 0.0 , delta , 0.0 ) ; result [ 3 ] = new Polygon ( xpoints , ypoints , 4 ) ; result [ 4 ] = new RectShape ( - delta , - delta / 2 , size , size / 2 ) ; xpoints = intArray ( - delta , + delta , 0.0 ) ; ypoints = intArray ( - delta , - delta , delta ) ; result [ 5 ] = new Polygon ( xpoints , ypoints , 3 ) ; result [ 6 ] = new OvalShape ( - delta , - delta / 2 , size , size / 2 ) ; xpoints = intArray ( - delta , delta , - delta ) ; ypoints = intArray ( - delta , 0.0 , delta ) ; result [ 7 ] = new Polygon ( xpoints , ypoints , 3 ) ; result [ 8 ] = new RectShape ( - delta / 2 , - delta , size / 2 , size ) ; xpoints = intArray ( - delta , delta , delta ) ; ypoints = intArray ( 0.0 , - delta , + delta ) ; result [ 9 ] = new Polygon ( xpoints , ypoints , 3 ) ; return result ; }
Creates an array of standard shapes to display for the items in series on
 charts.
Creates an array of standard shapes to display for the items in series on charts .
// square // circle // up-pointing triangle // diamond // horizontal RectShape // down-pointing triangle // horizontal ellipse // right-pointing triangle // vertical RectShape // left-pointing triangle