deadbeef.SupTools
Class BitmapBounds

java.lang.Object
  extended by deadbeef.SupTools.BitmapBounds

public class BitmapBounds
extends java.lang.Object

Storage class used by Bitmap to return image bounds.

Author:
0xdeadbeef

Field Summary
 int xMax
          X coordinate of last column that contains visible pixels.
 int xMin
          X coordinate of first column that contains visible pixels.
 int yMax
          Y coordinate of last line that contains visible pixels.
 int yMin
          Y coordinate of first line that contains visible pixels.
 
Constructor Summary
BitmapBounds(int minX, int maxX, int minY, int maxY)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xMin

public int xMin
X coordinate of first column that contains visible pixels.


xMax

public int xMax
X coordinate of last column that contains visible pixels.


yMin

public int yMin
Y coordinate of first line that contains visible pixels.


yMax

public int yMax
Y coordinate of last line that contains visible pixels.

Constructor Detail

BitmapBounds

public BitmapBounds(int minX,
                    int maxX,
                    int minY,
                    int maxY)
Constructor.

Parameters:
minX - x coordinate of first column that contains visible pixels
maxX - x coordinate of last column that contains visible pixels
minY - y coordinate of first line that contains visible pixels
maxY - y coordinate of last line that contains visible pixels