net.sourceforge.plantuml.ugraphic
Class URectangle
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.URectangle
-
- All Implemented Interfaces:
- Scalable, Shadowable, UShape, UShapeSized
public class URectangle extends java.lang.Object implements Scalable, UShapeSized
-
-
Constructor Summary
Constructors Constructor and Description URectangle(java.awt.geom.Dimension2D dim)URectangle(double width, double height)URectangle(double width, double height, double rx, double ry)URectangle(double width, double height, double rx, double ry, java.lang.String comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description URectangleclip(UClip clip)java.lang.StringgetComment()doublegetDeltaShadow()doublegetHeight()MinMaxgetMinMax()doublegetRx()doublegetRy()UShapegetScaled(double scale)doublegetWidth()voidsetDeltaShadow(double deltaShadow)java.lang.StringtoString()
-
-
-
Constructor Detail
-
URectangle
public URectangle(double width, double height)
-
URectangle
public URectangle(double width, double height, double rx, double ry)
-
URectangle
public URectangle(double width, double height, double rx, double ry, java.lang.String comment)
-
URectangle
public URectangle(java.awt.geom.Dimension2D dim)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getWidth
public double getWidth()
- Specified by:
getWidthin interfaceUShapeSized
-
getHeight
public double getHeight()
- Specified by:
getHeightin interfaceUShapeSized
-
getRx
public double getRx()
-
getRy
public double getRy()
-
clip
public URectangle clip(UClip clip)
-
getMinMax
public MinMax getMinMax()
-
getComment
public final java.lang.String getComment()
-
getDeltaShadow
public double getDeltaShadow()
- Specified by:
getDeltaShadowin interfaceShadowable
-
setDeltaShadow
public void setDeltaShadow(double deltaShadow)
- Specified by:
setDeltaShadowin interfaceShadowable
-
-
DataMelt 3.0 © DataMelt by jWork.ORG