net.sourceforge.plantuml.ugraphic
Class UPolygon
java.lang.Object
net.sourceforge.plantuml.ugraphic.UPolygon
- All Implemented Interfaces:
- Shadowable, UShape
public class UPolygon
- extends Object
UPolygon
public UPolygon()
UPolygon
public UPolygon(List<Point2D.Double> points)
addPoint
public void addPoint(double x,
double y)
getPoints
public List<Point2D.Double> getPoints()
translate
public UPolygon translate(double dx,
double dy)
rotate
public void rotate(double theta)
toString
public String toString()
- Overrides:
toString
in class Object
getHeight
public double getHeight()
getWidth
public double getWidth()
getMinX
public double getMinX()
getMinY
public double getMinY()
getMaxX
public double getMaxX()
getMaxY
public double getMaxY()
getDeltaShadow
public double getDeltaShadow()
- Specified by:
getDeltaShadow
in interface Shadowable
setDeltaShadow
public void setDeltaShadow(double deltaShadow)
- Specified by:
setDeltaShadow
in interface Shadowable
Copyright © 2013. All Rights Reserved.