com.alee.graphics.shapes
Class StarPolygon
java.lang.Object
java.awt.Polygon
com.alee.graphics.shapes.StarPolygon
- All Implemented Interfaces:
- java.awt.Shape, java.io.Serializable
public class StarPolygon
- extends java.awt.Polygon
User: mgarin Date: 17.06.11 Time: 16:17
- See Also:
- Serialized Form
Fields inherited from class java.awt.Polygon |
bounds, npoints, xpoints, ypoints |
Constructor Summary |
StarPolygon(int x,
int y,
int r,
int innerR,
int vertexCount)
|
StarPolygon(int x,
int y,
int r,
int innerR,
int vertexCount,
double startAngle)
|
Method Summary |
protected static int[] |
getXCoordinates(int x,
int y,
int r,
int innerR,
int vertexCount,
double startAngle)
|
protected static int[] |
getYCoordinates(int x,
int y,
int r,
int innerR,
int vertexCount,
double startAngle)
|
Methods inherited from class java.awt.Polygon |
addPoint, contains, contains, contains, contains, contains, contains, getBoundingBox, getBounds, getBounds2D, getPathIterator, getPathIterator, inside, intersects, intersects, invalidate, reset, translate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StarPolygon
public StarPolygon(int x,
int y,
int r,
int innerR,
int vertexCount)
StarPolygon
public StarPolygon(int x,
int y,
int r,
int innerR,
int vertexCount,
double startAngle)
getXCoordinates
protected static int[] getXCoordinates(int x,
int y,
int r,
int innerR,
int vertexCount,
double startAngle)
getYCoordinates
protected static int[] getYCoordinates(int x,
int y,
int r,
int innerR,
int vertexCount,
double startAngle)