Class URectangle
java.lang.Object
net.sourceforge.plantuml.klimt.AbstractShadowable
net.sourceforge.plantuml.klimt.shape.URectangle
- All Implemented Interfaces:
UShapeIgnorableForCompression
,Shadowable
,UShape
,UShapeSized
public class URectangle
extends AbstractShadowable
implements UShapeSized, UShapeIgnorableForCompression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondiagonalCorner
(double diagonalCorner) void
drawWhenCompressed
(UGraphic ug, CompressionMode mode) final String
double
double
getRx()
double
getRy()
double
getWidth()
final URectangle
final URectangle
boolean
rounded
(double round) toString()
withCommentAndCodeLine
(String comment, String codeLine) withHeight
(double newHeight) withWidth
(double newWidth) Methods inherited from class net.sourceforge.plantuml.klimt.AbstractShadowable
getDeltaShadow, setDeltaShadow
-
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
-