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.
-
ResizeInfo()
-
-
height()
- Get the height of the image.
-
resize()
-
Check if the camera should be resized.
-
resized()
- Set that the camera was resized.
-
setSize(int, int, int, int)
- Set the size of the image.
-
setSize(int, int, int, int, int)
- Set the size of the image.
-
transfer()
- Get the transfer of the image.
-
width()
- Get the width of the image.
-
xoffset()
- Get the x offset of the image.
-
yoffset()
- Get the y offset of the image.
ResizeInfo
public ResizeInfo()
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.
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.
width
public synchronized int width()
- Get the width of the image.
- Returns:
- s width of the image.
height
public synchronized int height()
- Get the height of the image.
- Returns:
- s height of the image.
xoffset
public synchronized int xoffset()
- Get the x offset of the image.
- Returns:
- s y offset.
yoffset
public synchronized int yoffset()
- Get the y offset of the image.
- Returns:
- s y offset.
transfer
public synchronized int transfer()
- Get the transfer of the image.
- Returns:
- s transfer size.
resize
public boolean resize()
- Check if the camera should be resized.
- Returns:
- s resize flag's value.
resized
public void resized()
- Set that the camera was resized.
All Packages Class Hierarchy This Package Previous Next Index