Package armyc2.c5isr.graphics2d
Class Rectangle
java.lang.Object
armyc2.c5isr.graphics2d.Rectangle
- All Implemented Interfaces:
 Shape
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancontains(int x1, int y1) booleancontains(int x1, int y1, int width1, int height1) booleanintintgetMaxX()intgetMaxY()intgetMinX()intgetMinY()intgetWidth()intgetX()intgetY()voidgrow(int h, int v) booleanintersects(double x1, double y1, double width1, double height1) booleanintersects(Rectangle rect) booleanintersects(Rectangle2D rect) voidsetLocation(int x, int y) voidsetRect(int x, int y, int width, int height) void 
- 
Field Details
- 
x
 - 
y
 - 
width
 - 
height
 
 - 
 - 
Constructor Details
- 
Rectangle
public Rectangle() - 
Rectangle
 - 
Rectangle
 - 
Rectangle
 
 - 
 - 
Method Details
- 
getBounds
 - 
getPathIterator
- Specified by:
 getPathIteratorin interfaceShape
 - 
intersects
- Specified by:
 intersectsin interfaceShape
 - 
intersects
 - 
intersects
- Specified by:
 intersectsin interfaceShape
 - 
contains
 - 
contains
 - 
contains
 - 
getBounds2D
- Specified by:
 getBounds2Din interfaceShape
 - 
getX
 - 
getY
 - 
getMinX
 - 
getMinY
 - 
getMaxX
 - 
getMaxY
 - 
getHeight
 - 
getWidth
 - 
grow
 - 
setRect
 - 
setRect
 - 
setLocation
 - 
add
 - 
union
 
 -