public class Canvas extends Object
| Constructor and Description |
|---|
Canvas() |
Canvas(int x,
int y,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getHeight() |
int |
getWidth() |
int |
getX() |
int |
getY() |
int |
hashCode() |
boolean |
isViewPortRelative() |
void |
setHeight(int height) |
void |
setViewPortRelative(boolean viewPortRelative)
Sets the screenshots to be relative to screen or to window, default is window.
|
void |
setWidth(int width) |
void |
setX(int x) |
void |
setY(int y) |
String |
toString() |
public boolean isViewPortRelative()
public void setViewPortRelative(boolean viewPortRelative)
viewPortRelative - true if relative to windowpublic int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
Copyright © 2013. All Rights Reserved.