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 URectangle
build(double width, double height)
static URectangle
build(XDimension2D dim)
URectangle
clip(UClip clip)
Shadowable
diagonalCorner(double diagonalCorner)
void
drawWhenCompressed(UGraphic ug, CompressionMode mode)
double
getHeight()
MinMax
getMinMax()
double
getRx()
double
getRy()
double
getWidth()
Shadowable
halfRounded(double roundCorner)
URectangle
ignoreForCompressionOnX()
URectangle
ignoreForCompressionOnY()
boolean
isIgnoreForCompressionOn(CompressionMode mode)
URectangle
rounded(double round)
java.lang.String
toString()
URectangle
withCommentAndCodeLine(java.lang.String comment, java.lang.String codeLine)
URectangle
withHeight(double newHeight)
URectangle
withWidth(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)
-
halfRounded
public Shadowable halfRounded(double roundCorner)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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()
-
drawWhenCompressed
public void drawWhenCompressed(UGraphic ug, CompressionMode mode)
- Specified by:
drawWhenCompressed
in interfaceUShapeIgnorableForCompression
-
isIgnoreForCompressionOn
public boolean isIgnoreForCompressionOn(CompressionMode mode)
- Specified by:
isIgnoreForCompressionOn
in interfaceUShapeIgnorableForCompression
-
-