public class URectangle extends java.lang.Object implements Scalable, UShapeSized
Constructor and Description |
---|
URectangle(java.awt.geom.Dimension2D dim) |
URectangle(double width,
double height) |
URectangle(double width,
double height,
double rx,
double ry) |
URectangle(double width,
double height,
double rx,
double ry,
java.lang.String comment) |
Modifier and Type | Method and Description |
---|---|
URectangle |
clip(UClip clip) |
java.lang.String |
getComment() |
double |
getDeltaShadow() |
double |
getHeight() |
MinMax |
getMinMax() |
double |
getRx() |
double |
getRy() |
UShape |
getScaled(double scale) |
double |
getWidth() |
boolean |
isIgnoreForCompression() |
void |
setDeltaShadow(double deltaShadow) |
void |
setIgnoreForCompression(boolean ignoreForCompression) |
java.lang.String |
toString() |
URectangle |
withHeight(double newHeight) |
URectangle |
withWidth(double newWidth) |
public URectangle(double width, double height)
public URectangle(double width, double height, double rx, double ry)
public URectangle(double width, double height, double rx, double ry, java.lang.String comment)
public URectangle(java.awt.geom.Dimension2D dim)
public URectangle withHeight(double newHeight)
public URectangle withWidth(double newWidth)
public java.lang.String toString()
toString
in class java.lang.Object
public double getWidth()
getWidth
in interface UShapeSized
public double getHeight()
getHeight
in interface UShapeSized
public double getRx()
public double getRy()
public URectangle clip(UClip clip)
public MinMax getMinMax()
public final java.lang.String getComment()
public final boolean isIgnoreForCompression()
public final void setIgnoreForCompression(boolean ignoreForCompression)
public double getDeltaShadow()
getDeltaShadow
in interface Shadowable
public void setDeltaShadow(double deltaShadow)
setDeltaShadow
in interface Shadowable