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
-
Method Summary
Modifier and TypeMethodDescriptionstatic URectangle
build
(double width, double height) static URectangle
build
(XDimension2D dim) diagonalCorner
(double diagonalCorner) void
drawWhenCompressed
(UGraphic ug, CompressionMode mode) final String
double
double
getRx()
double
getRy()
double
getWidth()
halfRounded
(double roundCorner) 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
-
Method Details
-
withHeight
-
withWidth
-
withCommentAndCodeLine
-
rounded
-
diagonalCorner
-
ignoreForCompressionOnX
-
ignoreForCompressionOnY
-
build
-
build
-
halfRounded
-
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
-