public class IlpRelativeRect extends IlpRect
Rectangle2D.Double, Rectangle2D.Floatheight, width, x, yOUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP| Constructor and Description |
|---|
IlpRelativeRect()
Creates a new relative rectangle.
|
IlpRelativeRect(double x,
double y,
double width,
double height)
Creates a new relative rectangle.
|
IlpRelativeRect(IlvRect rect)
Creates a new relative rectangle by copying an existing one.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Copies the rectangle.
|
getHeight, getWidth, setHeight, setWidth, setX, setYadd, add, contains, equalsOrNear, expand, expand, floor, heightFloor, inside, intersection, intersects, move, reshape, resize, toString, translate, widthFloor, xFloor, yFloorcreateIntersection, createUnion, getBounds2D, getX, getY, isEmpty, outcode, setRect, setRectadd, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, unioncontains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonalpublic IlpRelativeRect()
public IlpRelativeRect(double x,
double y,
double width,
double height)
public IlpRelativeRect(IlvRect rect)
rect - The copied rectangle.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.