public class UPolygon extends Object
Constructor and Description |
---|
UPolygon() |
UPolygon(List<Point2D.Double> points) |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(double x,
double y) |
double |
getDeltaShadow() |
double |
getHeight() |
double |
getMaxX() |
double |
getMaxY() |
MinMax |
getMinMax() |
double |
getMinX() |
double |
getMinY() |
double[] |
getPointArray(double x,
double y) |
List<Point2D.Double> |
getPoints() |
double |
getWidth() |
void |
rotate(double theta) |
void |
setDeltaShadow(double deltaShadow) |
String |
toString() |
UPolygon |
translate(double dx,
double dy) |
public UPolygon()
public UPolygon(List<Point2D.Double> points)
public void addPoint(double x, double y)
public List<Point2D.Double> getPoints()
public UPolygon translate(double dx, double dy)
public void rotate(double theta)
public double getHeight()
public double getWidth()
public double getMinX()
public double getMinY()
public double getMaxX()
public double getMaxY()
public MinMax getMinMax()
public double[] getPointArray(double x, double y)
public double getDeltaShadow()
getDeltaShadow
in interface Shadowable
public void setDeltaShadow(double deltaShadow)
setDeltaShadow
in interface Shadowable
Copyright © 2014. All Rights Reserved.