ilog.cpl.graphic
Class IlpRelativeRect
java.lang.Object
java.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Float
ilog.views.IlvRect
ilog.cpl.graphic.IlpRect
ilog.cpl.graphic.IlpRelativeRect
- All Implemented Interfaces:
- IlpPosition, Shape, Serializable, Cloneable
public class IlpRelativeRect
- extends IlpRect
Implements a rectangle that can be used as a relative
position in the network or equipment component.
- Since:
- JTGO 3.0
- See Also:
- Serialized Form
| Methods inherited from class ilog.views.IlvRect |
add, add, contains, expand, expand, floor, heightFloor, inside, intersection, intersects, move, reshape, resize, toString, translate, widthFloor, xFloor, yFloor |
| Methods inherited from class java.awt.geom.Rectangle2D |
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union |
| Methods inherited from class java.awt.geom.RectangularShape |
contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
IlpRelativeRect
public IlpRelativeRect()
- Creates a new relative rectangle.
The position is (0,0) and the width and height are 0.
IlpRelativeRect
public IlpRelativeRect(float x,
float y,
float width,
float height)
- Creates a new relative rectangle.
IlpRelativeRect
public IlpRelativeRect(IlvRect rect)
- Creates a new relative rectangle by copying an existing one.
- Parameters:
rect - The copied rectangle.
clone
public Object clone()
- Copies the rectangle.
- Overrides:
clone in class IlpRect
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.