Class URectangle
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.URectangle
-
- All Implemented Interfaces:
Shadowable
,UShape
,UShapeIgnorableForCompression
,UShapeSized
public class URectangle extends Object implements UShapeSized, UShapeIgnorableForCompression
-
-
Constructor Summary
Constructors Constructor Description URectangle(double width, double height)
URectangle(Dimension2D dim)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URectangle
clip(UClip clip)
Shadowable
diagonalCorner(double diagonalCorner)
void
drawWhenCompressed(UGraphic ug, CompressionMode mode)
String
getCodeLine()
String
getComment()
double
getDeltaShadow()
double
getHeight()
MinMax
getMinMax()
double
getRx()
double
getRy()
double
getWidth()
URectangle
ignoreForCompressionOnX()
URectangle
ignoreForCompressionOnY()
boolean
isIgnoreForCompressionOn(CompressionMode mode)
URectangle
rounded(double round)
void
setDeltaShadow(double deltaShadow)
String
toString()
URectangle
withCommentAndCodeLine(String comment, String codeLine)
URectangle
withHeight(double newHeight)
URectangle
withWidth(double newWidth)
-
-
-
Constructor Detail
-
URectangle
public URectangle(double width, double height)
-
URectangle
public URectangle(Dimension2D dim)
-
-
Method Detail
-
withHeight
public URectangle withHeight(double newHeight)
-
withWidth
public URectangle withWidth(double newWidth)
-
withCommentAndCodeLine
public URectangle withCommentAndCodeLine(String comment, String codeLine)
-
rounded
public URectangle rounded(double round)
-
diagonalCorner
public Shadowable diagonalCorner(double diagonalCorner)
-
ignoreForCompressionOnX
public final URectangle ignoreForCompressionOnX()
-
ignoreForCompressionOnY
public final URectangle ignoreForCompressionOnY()
-
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
public URectangle clip(UClip clip)
-
getMinMax
public MinMax getMinMax()
-
getComment
public final String getComment()
-
getCodeLine
public String getCodeLine()
-
drawWhenCompressed
public void drawWhenCompressed(UGraphic ug, CompressionMode mode)
- Specified by:
drawWhenCompressed
in interfaceUShapeIgnorableForCompression
-
isIgnoreForCompressionOn
public boolean isIgnoreForCompressionOn(CompressionMode mode)
- 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
-
-