public class SWTGraphics extends LWJGLGraphics
| Modifier and Type | Class | Description |
|---|---|---|
static class |
SWTGraphics.Hack |
| Constructor | Description |
|---|---|
SWTGraphics(SWTPlatform splat,
org.eclipse.swt.widgets.Composite comp) |
| Modifier and Type | Method | Description |
|---|---|---|
org.eclipse.swt.opengl.GLCanvas |
canvas() |
|
pythagoras.f.IDimension |
screenSize() |
|
void |
setSize(int width,
int height,
boolean fullscreen) |
createCanvas, createCanvas, createTexture, createTexture, scalecreateGradient, createPath, layoutText, layoutText, registerFontpublic SWTGraphics(SWTPlatform splat, org.eclipse.swt.widgets.Composite comp)
public org.eclipse.swt.opengl.GLCanvas canvas()
public pythagoras.f.IDimension screenSize()
screenSize in class playn.core.Graphicspublic void setSize(int width,
int height,
boolean fullscreen)
setSize in class JavaGraphicsCopyright © 2018. All Rights Reserved.