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.
 

Method Detail

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 on
arc - arc to draw
x1 - x coordinate of the tail
y1 - y coordinate of the tail
x2 - x coordinate of the head
y2 - y coordinate of the head