public abstract class LabelLayout
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected int |
bgHeight |
protected int |
bgWidth |
protected int |
bgX |
protected int |
bgY |
protected int |
height |
protected java.awt.font.TextLayout |
textLayout |
protected float |
textX |
protected float |
textY |
protected int |
width |
protected int |
x |
protected int |
y |
限定符 | 构造器和说明 |
---|---|
protected |
LabelLayout(int x,
int y,
int width,
int height) |
限定符和类型 | 方法和说明 |
---|---|
protected abstract void |
calculate() |
int |
getBackgroundHeight() |
int |
getBackgroundWidth() |
int |
getBackgroundX() |
int |
getBackgroundY() |
float |
getTextX() |
float |
getTextY() |
void |
setTextLayout(java.awt.font.TextLayout textLayout) |
protected final int x
protected final int y
protected final int width
protected final int height
protected java.awt.font.TextLayout textLayout
protected float textX
protected float textY
protected int bgX
protected int bgY
protected int bgWidth
protected int bgHeight
public void setTextLayout(java.awt.font.TextLayout textLayout)
protected abstract void calculate()
public float getTextX()
public float getTextY()
public int getBackgroundX()
public int getBackgroundY()
public int getBackgroundWidth()
public int getBackgroundHeight()