/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.geoforge.jfreechart.util.shape;
import java.awt.Polygon;
import java.awt.Shape;
/**
*
* @author robert
*/
public class GfrShpDiamond extends GfrShpAbs
{
final static private int _INT_SIZE_ = ((int) GfrShpAbs._DBL_DELTA) + 1;
static public Shape s_get()
{
int[] intsX =
{
0,
GfrShpDiamond._INT_SIZE_,
0,
-GfrShpDiamond._INT_SIZE_
};
int[] intsY =
{
-GfrShpDiamond._INT_SIZE_,
0,
GfrShpDiamond._INT_SIZE_,
0,
};
return new Polygon(intsX, intsY, intsX.length);
}
private GfrShpDiamond()
{
super();
}
}