public class StreamableRectangle extends Rectangle implements Streamable
Rectangle extension that can be streamed.Rectangle2D.Double, Rectangle2D.FloatStreamable.ClosureOUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP| Constructor and Description |
|---|
StreamableRectangle()
No-arg constructor for deserialization.
|
StreamableRectangle(int x,
int y,
int width,
int height)
Creates a rectangle with the specified coordinates.
|
StreamableRectangle(Rectangle rect)
Copy constructor.
|
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, unionadd, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, unionclone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonalcontains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersectspublic StreamableRectangle(int x,
int y,
int width,
int height)
public StreamableRectangle(Rectangle rect)
public StreamableRectangle()
Copyright © 2015. All rights reserved.