Class BallGlyph2D

java.lang.Object
  |
  +--Glyph
        |
        +--Glyph2D
              |
              +--BallGlyph2D

public class BallGlyph2D
extends Glyph2D

BallGlyph2D implements a two-dimensional Ball-glyph with three properties: width, height and color.


Method Summary
 void draw(int x, int y, java.awt.Graphics g)
           
 void setBaseColor(java.awt.Color c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setBaseColor

public void setBaseColor(java.awt.Color c)

draw

public void draw(int x,
                 int y,
                 java.awt.Graphics g)
Overrides:
draw in class Glyph2D