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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static URectanglebuild(double width, double height)static URectanglebuild(XDimension2D dim)URectangleclip(UClip clip)ShadowablediagonalCorner(double diagonalCorner)voiddrawWhenCompressed(UGraphic ug, CompressionMode mode)java.lang.StringgetCodeLine()java.lang.StringgetComment()doublegetHeight()MinMaxgetMinMax()doublegetRx()doublegetRy()doublegetWidth()URectangleignoreForCompressionOnX()URectangleignoreForCompressionOnY()booleanisIgnoreForCompressionOn(CompressionMode mode)URectanglerounded(double round)java.lang.StringtoString()URectanglewithCommentAndCodeLine(java.lang.String comment, java.lang.String codeLine)URectanglewithHeight(double newHeight)URectanglewithWidth(double newWidth)-
Methods inherited from class net.sourceforge.plantuml.klimt.AbstractShadowable
getDeltaShadow, setDeltaShadow
-
-
-
-
Method Detail
-
withHeight
public URectangle withHeight(double newHeight)
-
withWidth
public URectangle withWidth(double newWidth)
-
withCommentAndCodeLine
public URectangle withCommentAndCodeLine(java.lang.String comment, java.lang.String codeLine)
-
rounded
public URectangle rounded(double round)
-
diagonalCorner
public Shadowable diagonalCorner(double diagonalCorner)
-
ignoreForCompressionOnX
public final URectangle ignoreForCompressionOnX()
-
ignoreForCompressionOnY
public final URectangle ignoreForCompressionOnY()
-
build
public static URectangle build(double width, double height)
-
build
public static URectangle build(XDimension2D dim)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
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 java.lang.String getComment()
-
getCodeLine
public java.lang.String getCodeLine()
-
drawWhenCompressed
public void drawWhenCompressed(UGraphic ug, CompressionMode mode)
- Specified by:
drawWhenCompressedin interfaceUShapeIgnorableForCompression
-
isIgnoreForCompressionOn
public boolean isIgnoreForCompressionOn(CompressionMode mode)
- Specified by:
isIgnoreForCompressionOnin interfaceUShapeIgnorableForCompression
-
-