annas.graph.drawing
Interface DrawArc<A>
- Type Parameters:
A
- Arc type
- All Known Implementing Classes:
- DefaultDrawableArc
public interface DrawArc<A>
Interface for arc drawing objects
- Author:
- Sam Wilson
Method Summary |
void |
drawArc(java.awt.Graphics2D graphic,
A arc,
int x1,
int y1,
int x2,
int y2)
Draws an arc at a given point. |
drawArc
void drawArc(java.awt.Graphics2D graphic,
A arc,
int x1,
int y1,
int x2,
int y2)
- Draws an arc at a given point.
- Parameters:
graphic
- Graphic object from the image the arc is to be drawn onarc
- arc to drawx1
- x coordinate of the taily1
- y coordinate of the tailx2
- x coordinate of the heady2
- y coordinate of the head