com.threerings.util
Class StreamableRectangle
java.lang.Object
java.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.Rectangle
com.threerings.util.StreamableRectangle
- All Implemented Interfaces:
- Streamable, Shape, Serializable, Cloneable
public class StreamableRectangle
- extends Rectangle
- implements Streamable
A Rectangle extension that can be streamed.
- See Also:
- Serialized Form
| Methods inherited from class java.awt.Rectangle |
add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union |
| Methods inherited from class java.awt.geom.Rectangle2D |
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union |
| Methods inherited from class java.awt.geom.RectangularShape |
clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
StreamableRectangle
public StreamableRectangle(int x,
int y,
int width,
int height)
- Creates a rectangle with the specified coordinates.
StreamableRectangle
public StreamableRectangle(Rectangle rect)
- Copy constructor.
StreamableRectangle
public StreamableRectangle()
- No-arg constructor for deserialization.