public interface IImageViewport
| Modifier and Type | Method and Description |
|---|---|
ViewportConfiguration |
getLastViewPort() |
Dimension |
getMinimumSize()
Return the minimum size for this graphic.
|
ViewportMode |
getMode() |
Dimension |
getPreferedSize()
Return the prefered size for this graphic.
|
void |
render(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu)
Renders the picture into the window, according to the viewport settings.
|
void |
setViewPort(int width,
int height) |
void |
setViewPort(int width,
int height,
float left,
float right)
Set the view port (size of the renderer).
|
void |
setViewPort(ViewportConfiguration viewport) |
void |
setViewportMode(ViewportMode mode) |
void render(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu)
gl - glu - Dimension getMinimumSize()
Dimension getPreferedSize()
void setViewPort(int width,
int height)
ViewportMode getMode()
void setViewportMode(ViewportMode mode)
void setViewPort(int width,
int height,
float left,
float right)
width - the width of the target window.height - the height of the target window.left - the width's ratio where this subscreen starts in the target
window.right - the width's ratio where this subscreen stops in the target
window.an - IllegalArgumentException if right is not greater than left.void setViewPort(ViewportConfiguration viewport)
ViewportConfiguration getLastViewPort()
Copyright © 2016. All rights reserved.