public class UpstreamWindowHookMutableSizePos extends UpstreamSurfaceHookMutableSize
UpstreamSurfaceHook.MutableSize
Constructor and Description |
---|
UpstreamWindowHookMutableSizePos(int winX,
int winY,
int winWidth,
int winHeight,
int pixWidth,
int pixHeight) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
setWinPos(int winX,
int winY) |
void |
setWinSize(int winWidth,
int winHeight) |
String |
toString() |
create, destroy, getSurfaceHeight, getSurfaceWidth, getUpstreamSurface, setSurfaceSize
public UpstreamWindowHookMutableSizePos(int winX, int winY, int winWidth, int winHeight, int pixWidth, int pixHeight)
winX
- initial window x-poswinY
- initial window y-poswinWidth
- initial window widthwinHeight
- initial window heightpixWidth
- initial surface pixel width, FIXME: pixel-dim == window-dim 'for now' ?pixHeight
- initial surface pixel height, FIXME: pixel-dim == window-dim 'for now' ?public final void setWinPos(int winX, int winY)
public final void setWinSize(int winWidth, int winHeight)
public final int getX()
public final int getY()
public final int getWidth()
public final int getHeight()
public String toString()
toString
in class UpstreamSurfaceHookMutableSize
Copyright 2010 JogAmp Community.