net.sourceforge.plantuml.ugraphic
Class UPolygon

java.lang.Object
  extended by net.sourceforge.plantuml.ugraphic.UPolygon
All Implemented Interfaces:
Shadowable, UShape

public class UPolygon
extends Object


Constructor Summary
UPolygon()
           
UPolygon(List<Point2D.Double> points)
           
 
Method Summary
 void addPoint(double x, double y)
           
 double getDeltaShadow()
           
 double getHeight()
           
 double getMaxX()
           
 double getMaxY()
           
 double getMinX()
           
 double getMinY()
           
 List<Point2D.Double> getPoints()
           
 double getWidth()
           
 void rotate(double theta)
           
 void setDeltaShadow(double deltaShadow)
           
 String toString()
           
 UPolygon translate(double dx, double dy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UPolygon

public UPolygon()

UPolygon

public UPolygon(List<Point2D.Double> points)
Method Detail

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.