Class Pixel

java.lang.Object
   |
   +----java.awt.Point
           |
           +----Pixel

public class Pixel
extends Point
A subclass of Point that includes not only a location, but a color value.


Variable Index

 o color

Constructor Index

 o Pixel()
A default constructor.
 o Pixel(Point, Color)
Construct a new Pixel from the named Point and Color values.

Variables

 o color
 public Color color

Constructors

 o Pixel
 public Pixel()
A default constructor.

 o Pixel
 public Pixel(Point p,
              Color c)
Construct a new Pixel from the named Point and Color values.