public class IlpRelativeRect extends IlpRect
Rectangle2D.Double, Rectangle2D.Float
height, width, x, y
OUT_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, setY
add, add, contains, equalsOrNear, expand, expand, floor, heightFloor, inside, intersection, intersects, move, reshape, resize, toString, translate, widthFloor, xFloor, yFloor
createIntersection, createUnion, getBounds2D, getX, getY, isEmpty, outcode, setRect, setRect
add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union
contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
public IlpRelativeRect()
public IlpRelativeRect(double x, double y, double width, double height)
public IlpRelativeRect(IlvRect rect)
rect
- The copied rectangle.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.