com.partnersoft.maps.render
Class AlphaBuffer

java.lang.Object
  extended by com.partnersoft.maps.render.AlphaBuffer

public class AlphaBuffer
extends java.lang.Object

A special case image buffer for holding just alpha values as single bytes.

Author:
Paul Reavis Copyright 2003 Partner Software, Inc.

Field Summary
 java.awt.image.BufferedImage buffer
           
 int height
           
 byte[] pixels
           
 int scanlineStride
           
 int width
           
 
Constructor Summary
AlphaBuffer(int width, int height)
           
 
Method Summary
 java.awt.Graphics2D createGraphics()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

public int width

height

public int height

scanlineStride

public int scanlineStride

pixels

public byte[] pixels

buffer

public java.awt.image.BufferedImage buffer
Constructor Detail

AlphaBuffer

public AlphaBuffer(int width,
                   int height)
Method Detail

createGraphics

public java.awt.Graphics2D createGraphics()