FileDocCategorySizeDatePackage
Spotlight.javaAPI DocExample462Mon Jan 09 11:02:00 GMT 2006None

Spotlight

public class Spotlight extends Object

Fields Summary
protected Ellipse2D$Double
spot
protected Rectangle2D$Double
bounds
Constructors Summary
public Spotlight(int x, int y, int w, int h)

        this.spot = new Ellipse2D.Double(x, y, w, h);
    
Methods Summary
public doublegetArea()

        return Math.PI * spot.getWidth() * spot.getHeight() / 4.0;
    
public java.awt.geom.Ellipse2DgetSpot()

        return spot;