public class RationalPolygon
extends java.awt.Polygon
| Constructor and Description |
|---|
RationalPolygon(double[] xFracts,
double[] yFracts,
int numPoints)
Create rational polygon with give fractional x's and y's.
|
RationalPolygon(double[] xFracts,
double[] yFracts,
int numPoints,
int width,
int height)
Create rational polygon with give fractional x's and y's.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
getHeight() |
int |
getWidth() |
void |
setHeight(int newHeight) |
void |
setWidth(int newWidth) |
public RationalPolygon(double[] xFracts,
double[] yFracts,
int numPoints)
public RationalPolygon(double[] xFracts,
double[] yFracts,
int numPoints,
int width,
int height)