Package playn.java
Class SWTGraphics
java.lang.Object
playn.core.Graphics
playn.java.JavaGraphics
playn.java.LWJGLGraphics
playn.java.SWTGraphics
public class SWTGraphics extends LWJGLGraphics
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSWTGraphics.HackNested classes/interfaces inherited from class playn.core.Graphics
playn.core.Graphics.Orientation, playn.core.Graphics.OrientationDetail -
Field Summary
Fields inherited from class playn.core.Graphics
defaultRenderTarget, deviceOrient, gl, orientDetail, viewSize -
Constructor Summary
Constructors Constructor Description SWTGraphics(SWTPlatform splat, org.eclipse.swt.widgets.Composite comp) -
Method Summary
Modifier and Type Method Description org.eclipse.swt.opengl.GLCanvascanvas()IDimensionscreenSize()voidsetSize(int width, int height, boolean fullscreen)Methods inherited from class playn.java.JavaGraphics
createCanvas, createGradient, createPath, layoutText, layoutText, registerFontMethods inherited from class playn.core.Graphics
createCanvas, createCanvas, createTexture, createTexture, scale
-
Constructor Details
-
SWTGraphics
-
-
Method Details
-
canvas
public org.eclipse.swt.opengl.GLCanvas canvas() -
screenSize
- Specified by:
screenSizein classplayn.core.Graphics
-
setSize
public void setSize(int width, int height, boolean fullscreen)- Specified by:
setSizein classJavaGraphics
-