public abstract class J2DPresentable extends Object implements Presentable
Modifier and Type | Method and Description |
---|---|
abstract BufferedImage |
createBuffer(int w,
int h) |
Graphics |
createGraphics() |
Screen |
getAssociatedScreen() |
int |
getContentX() |
int |
getContentY() |
int |
getPhysicalHeight() |
int |
getPhysicalWidth() |
float |
getPixelScaleFactor() |
boolean |
isMSAA() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
lockResources, prepare, present
isOpaque, setOpaque
getContentHeight, getContentWidth
public abstract BufferedImage createBuffer(int w, int h)
public Graphics createGraphics()
createGraphics
in interface RenderTarget
public Screen getAssociatedScreen()
getAssociatedScreen
in interface RenderTarget
public int getContentX()
getContentX
in interface Surface
public int getContentY()
getContentY
in interface Surface
public float getPixelScaleFactor()
getPixelScaleFactor
in interface Presentable
public int getPhysicalWidth()
getPhysicalWidth
in interface Surface
public int getPhysicalHeight()
getPhysicalHeight
in interface Surface
public boolean isMSAA()
isMSAA
in interface RenderTarget
Copyright © 2020. All rights reserved.