Class URectangle
java.lang.Object
net.sourceforge.plantuml.ugraphic.URectangle
- All Implemented Interfaces:
Shadowable
,UShape
,UShapeIgnorableForCompression
,UShapeSized
public class URectangle
extends java.lang.Object
implements UShapeSized, UShapeIgnorableForCompression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondiagonalCorner
(double diagonalCorner) void
drawWhenCompressed
(UGraphic ug, CompressionMode mode) java.lang.String
final java.lang.String
double
double
double
getRx()
double
getRy()
double
getWidth()
final URectangle
final URectangle
boolean
rounded
(double round) void
setDeltaShadow
(double deltaShadow) java.lang.String
toString()
withCommentAndCodeLine
(java.lang.String comment, java.lang.String codeLine) withHeight
(double newHeight) withWidth
(double newWidth) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
URectangle
public URectangle(double width, double height) -
URectangle
-
-
Method Details
-
withHeight
-
withWidth
-
withCommentAndCodeLine
-
rounded
-
diagonalCorner
-
ignoreForCompressionOnX
-
ignoreForCompressionOnY
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getWidth
public double getWidth()- Specified by:
getWidth
in interfaceUShapeSized
-
getHeight
public double getHeight()- Specified by:
getHeight
in interfaceUShapeSized
-
getRx
public double getRx() -
getRy
public double getRy() -
clip
-
getMinMax
-
getComment
public final java.lang.String getComment() -
getCodeLine
public java.lang.String getCodeLine() -
drawWhenCompressed
- Specified by:
drawWhenCompressed
in interfaceUShapeIgnorableForCompression
-
isIgnoreForCompressionOn
- Specified by:
isIgnoreForCompressionOn
in interfaceUShapeIgnorableForCompression
-
getDeltaShadow
public double getDeltaShadow()- Specified by:
getDeltaShadow
in interfaceShadowable
-
setDeltaShadow
public void setDeltaShadow(double deltaShadow) - Specified by:
setDeltaShadow
in interfaceShadowable
-