Opus5
Interface GraphicsPrimitives

All Known Implementing Classes:
GraphicalObject

public interface GraphicsPrimitives

Encapsulates a simple set of primitive operations on graphical objects.

Version:
$Id: GraphicsPrimitives.java,v 3.1 1998/07/28 01:32:17 brpreiss Exp $
Author:
Bruno R. Preiss, P.Eng.

Field Summary
static java.lang.String copyright
           
 
Method Summary
 void draw()
          Draws this graphical object on the screen.
 void erase()
          Erases this graphical object from the screen.
 void moveTo(Point p)
          Moves this graphical object to a given point on the screen.
 

Field Detail

copyright

public static final java.lang.String copyright
Method Detail

draw

public void draw()
Draws this graphical object on the screen.

erase

public void erase()
Erases this graphical object from the screen.

moveTo

public void moveTo(Point p)
Moves this graphical object to a given point on the screen.
Parameters:
p - The point to which this object is to be moved.
See Also:
Point