Class URectangle
java.lang.Object
net.sourceforge.plantuml.ugraphic.URectangle
- All Implemented Interfaces:
Shadowable
,UShape
,UShapeIgnorableForCompression
,UShapeSized
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondiagonalCorner
(double diagonalCorner) void
drawWhenCompressed
(UGraphic ug, CompressionMode mode) final String
double
double
double
getRx()
double
getRy()
double
getWidth()
final URectangle
final URectangle
boolean
rounded
(double round) void
setDeltaShadow
(double deltaShadow) toString()
withCommentAndCodeLine
(String comment, String codeLine) withHeight
(double newHeight) withWidth
(double newWidth)
-
Constructor Details
-
URectangle
public URectangle(double width, double height) -
URectangle
-
-
Method Details
-
withHeight
-
withWidth
-
withCommentAndCodeLine
-
rounded
-
diagonalCorner
-
ignoreForCompressionOnX
-
ignoreForCompressionOnY
-
toString
-
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
-
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
-