Class com.oroinc.yaray.PPMPicture
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.oroinc.yaray.PPMPicture

java.lang.Object
   |
   +----com.oroinc.yaray.PPMPicture

public class PPMPicture
extends Object
implements Picture
Implements the Picture interface for PPM format files.

Copyright © 1996, 1997 Original Reusable Objects, Inc. All rights reserved.

Author:
Daniel F. Savarese

Constructor Index

 o PPMPicture()

Method Index

 o setDimensions(int, int)
 o setPixel(int, int, Color)
 o write(OutputStream)

Constructors

 o PPMPicture
  public PPMPicture()

Methods

 o setDimensions
  public void setDimensions(int width,
                            int height)
 o setPixel
  public void setPixel(int x,
                       int y,
                       Color color)
 o write
  public void write(OutputStream output) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index