All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.buffer.ResizeInfo

java.lang.Object
   |
   +----pinball.buffer.ResizeInfo

public class ResizeInfo
extends Object
Used when the image from the camera is to be resized. Basically a flag is set and the new dimention is requested.


Constructor Index

 o ResizeInfo()

Method Index

 o height()
Get the height of the image.
 o resize()
Check if the camera should be resized.
 o resized()
Set that the camera was resized.
 o setSize(int, int, int, int)
Set the size of the image.
 o setSize(int, int, int, int, int)
Set the size of the image.
 o transfer()
Get the transfer of the image.
 o width()
Get the width of the image.
 o xoffset()
Get the x offset of the image.
 o yoffset()
Get the y offset of the image.

Constructors

 o ResizeInfo
 public ResizeInfo()

Methods

 o setSize
 public synchronized void setSize(int w,
                                  int h,
                                  int xo,
                                  int yo)
Set the size of the image.

Parameters:
w - the width of image.
h - the height of the image.
xo - the xoffset of the image.
yo - the yoffset of the image.
 o setSize
 public synchronized void setSize(int w,
                                  int h,
                                  int xo,
                                  int yo,
                                  int t)
Set the size of the image.

Parameters:
w - the width of image.
h - the height of the image.
xo - the xoffset of the image.
yo - the yoffset of the image.
t - the transfer size of the image.
 o width
 public synchronized int width()
Get the width of the image.

Returns:
s width of the image.
 o height
 public synchronized int height()
Get the height of the image.

Returns:
s height of the image.
 o xoffset
 public synchronized int xoffset()
Get the x offset of the image.

Returns:
s y offset.
 o yoffset
 public synchronized int yoffset()
Get the y offset of the image.

Returns:
s y offset.
 o transfer
 public synchronized int transfer()
Get the transfer of the image.

Returns:
s transfer size.
 o resize
 public boolean resize()
Check if the camera should be resized.

Returns:
s resize flag's value.
 o resized
 public void resized()
Set that the camera was resized.


All Packages  Class Hierarchy  This Package  Previous  Next  Index