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 URectangleclip(UClip clip)ShadowablediagonalCorner(double diagonalCorner)voiddrawWhenCompressed(UGraphic ug, CompressionMode mode)StringgetCodeLine()StringgetComment()doublegetDeltaShadow()doublegetHeight()MinMaxgetMinMax()doublegetRx()doublegetRy()doublegetWidth()URectangleignoreForCompressionOnX()URectangleignoreForCompressionOnY()booleanisIgnoreForCompressionOn(CompressionMode mode)URectanglerounded(double round)voidsetDeltaShadow(double deltaShadow)StringtoString()URectanglewithCommentAndCodeLine(String comment, String codeLine)URectanglewithHeight(double newHeight)URectanglewithWidth(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:
getWidthin interfaceUShapeSized
-
getHeight
public double getHeight()
- Specified by:
getHeightin 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:
drawWhenCompressedin interfaceUShapeIgnorableForCompression
-
isIgnoreForCompressionOn
public boolean isIgnoreForCompressionOn(CompressionMode mode)
- Specified by:
isIgnoreForCompressionOnin interfaceUShapeIgnorableForCompression
-
getDeltaShadow
public double getDeltaShadow()
- Specified by:
getDeltaShadowin interfaceShadowable
-
setDeltaShadow
public void setDeltaShadow(double deltaShadow)
- Specified by:
setDeltaShadowin interfaceShadowable
-
-