org.jzy3d.plot3d.rendering.view
Class ViewPort
java.lang.Object
org.jzy3d.plot3d.rendering.view.ViewPort
public class ViewPort
- extends Object
A ViewPort
states how a particular GL rendering should
occupy screen. It is define by integer width and height, and
support a left
- Author:
- Martin
Field Summary |
protected int |
height
|
protected int |
width
|
protected int |
x
|
protected int |
y
|
Constructor Summary |
ViewPort(int width,
int height)
|
ViewPort(int width,
int height,
int x,
int y)
|
width
protected int width
height
protected int height
x
protected int x
y
protected int y
ViewPort
public ViewPort(int width,
int height)
ViewPort
public ViewPort(int width,
int height,
int x,
int y)
slice
public static ViewPort slice(int width,
int height,
float left,
float right)
getWidth
public int getWidth()
setWidth
public void setWidth(int width)
getHeight
public int getHeight()
setHeight
public void setHeight(int height)
getX
public int getX()
setX
public void setX(int x)
getY
public int getY()
setY
public void setY(int y)
toString
public String toString()
- Overrides:
toString
in class Object