public interface RenderHandler
Modifier and Type | Method and Description |
---|---|
default Rectangle |
getRootScreenRect() |
default ScreenInfo |
getScreenInfo() |
default Point |
getScreenPoint(int x,
int y) |
Rectangle |
getViewRect() |
void |
onPaint(java.nio.ByteBuffer buffer,
int width,
int height)
Note that the memory represented by buffer is only guaranteed to be valid for the
duration of the method invocation.
|
void onPaint(java.nio.ByteBuffer buffer, int width, int height)
buffer
- width
- height
- Rectangle getViewRect()
default Rectangle getRootScreenRect()
default ScreenInfo getScreenInfo()
default Point getScreenPoint(int x, int y)