|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.geom.RectangularShape
|
+--java.awt.geom.Rectangle2D
|
+--java.awt.Rectangle
|
+--Wall
|
+--Arc
| Field Summary | |
static int |
INITIAL_ARC_RADIUS
Initial "radius" of arc |
static int |
OUTER_WALL_ARC
|
int |
radius
width of an ellipse ("radius") |
| Fields inherited from class Wall |
ID, rot, thickness, type, WALL_BRIDGE, WALL_RIVER, WALL_ROAD, x2, y2 |
| Fields inherited from class java.awt.Rectangle |
height, width, x, y |
| Fields inherited from class java.awt.geom.Rectangle2D |
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP |
| Constructor Summary | |
Arc(int x,
int y,
int r,
int width,
int height)
|
|
Arc(int x1,
int y1,
int x2,
int y2,
int r,
int type,
int thickness)
Creates new Arc thickness is in milimeters, left upper point is lexicographically sorted against right lower point |
|
| Method Summary | |
java.lang.Object |
clone()
|
boolean |
contains(double xx,
double yy)
|
void |
draw(java.awt.Graphics2D g2)
|
void |
drawFill(java.awt.Graphics2D g2)
|
void |
drawFillSelected(java.awt.Graphics2D g2)
|
void |
fill(java.awt.Graphics2D g2)
|
| Methods inherited from class Wall |
setLocation |
| 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, setRect, setSize, setSize, toString, translate, union |
| Methods inherited from class java.awt.geom.Rectangle2D |
add, add, add, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union |
| Methods inherited from class java.awt.geom.RectangularShape |
contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.Shape |
contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects |
| Field Detail |
public static final int OUTER_WALL_ARC
public static final int INITIAL_ARC_RADIUS
public int radius
| Constructor Detail |
public Arc(int x,
int y,
int r,
int width,
int height)
public Arc(int x1,
int y1,
int x2,
int y2,
int r,
int type,
int thickness)
| Method Detail |
public boolean contains(double xx,
double yy)
contains in interface java.awt.Shapecontains in class Wallpublic java.lang.Object clone()
clone in class Wallpublic void draw(java.awt.Graphics2D g2)
draw in class Wallpublic void fill(java.awt.Graphics2D g2)
fill in class Wallpublic void drawFill(java.awt.Graphics2D g2)
drawFill in class Wallpublic void drawFillSelected(java.awt.Graphics2D g2)
drawFillSelected in class Wall
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||