/*
* 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 GfrShpTriangle extends GfrShpAbs
{
final static private int _INT_SIZE_ = ((int) GfrShpAbs._DBL_DELTA) + 1;
static public Shape s_get()
{
int[] intsX =
{
0,
GfrShpTriangle._INT_SIZE_,
-GfrShpTriangle._INT_SIZE_
};
int[] intsY =
{
-GfrShpTriangle._INT_SIZE_,
GfrShpTriangle._INT_SIZE_,
GfrShpTriangle._INT_SIZE_
};
return new Polygon(intsX, intsY, intsX.length);
}
private GfrShpTriangle()
{
super();
}
}