Class UPolygon
java.lang.Object
net.sourceforge.plantuml.ugraphic.UPolygon
- All Implemented Interfaces:
Shadowable
,UShape
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPoint
(double x, double y) void
void
affine
(AffineTransform rotate) final CompressionMode
double
double
double
getMaxX()
double
getMaxY()
double
getMinX()
double
getMinY()
getPoint
(int idx) double[]
getPointArray
(double x, double y) double
getWidth()
void
rotate
(double theta) final void
setCompressionMode
(CompressionMode compressionMode) void
setDeltaShadow
(double deltaShadow) toString()
translate
(double dx, double dy)
-
Constructor Details
-
UPolygon
public UPolygon() -
UPolygon
-
UPolygon
-
-
Method Details
-
getPoint
-
checkMiddleContactForSpecificTriangle
-
addPoint
public void addPoint(double x, double y) -
addPoint
-
getPoints
-
translate
-
rotate
public void rotate(double theta) -
affine
-
toString
-
getHeight
public double getHeight() -
getWidth
public double getWidth() -
getMinX
public double getMinX() -
getMinY
public double getMinY() -
getMaxX
public double getMaxX() -
getMaxY
public double getMaxY() -
getMinMax
-
getPointArray
public double[] getPointArray(double x, double y) -
getCompressionMode
-
setCompressionMode
-
getDeltaShadow
public double getDeltaShadow()- Specified by:
getDeltaShadow
in interfaceShadowable
-
setDeltaShadow
public void setDeltaShadow(double deltaShadow) - Specified by:
setDeltaShadow
in interfaceShadowable
-