public class Overlay
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
Overlay.DrawOrder |
Modifier and Type | Field | Description |
---|---|---|
int[] |
cachedPixels |
|
Overlay.DrawOrder |
drawOrder |
|
boolean |
isMovable |
|
int |
userOffsetX |
|
int |
userOffsetY |
Constructor | Description |
---|---|
Overlay() |
|
Overlay(boolean isMovable) |
|
Overlay(boolean isMovable,
Overlay.DrawOrder drawOrder) |
Modifier and Type | Method | Description |
---|---|---|
java.awt.Dimension |
getDimension() |
|
java.awt.Point |
getPosition() |
|
boolean |
shouldDraw() |
|
boolean |
shouldUpdate() |
|
void |
update(java.awt.Graphics2D g) |
public final boolean isMovable
public final Overlay.DrawOrder drawOrder
public int userOffsetX
public int userOffsetY
public int[] cachedPixels
public Overlay()
public Overlay(boolean isMovable)
public Overlay(boolean isMovable, Overlay.DrawOrder drawOrder)