public class GuiComponent.Transform
extends java.lang.Object
| 构造器和说明 |
|---|
Transform() |
Transform(GuiComponent.Transform transform) |
Transform(int x,
int y,
int width,
int height) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
offset(int x,
int y) |
void |
setPos(GuiComponent.Transform transform) |
void |
setPos(int x,
int y)
Set the absolute position of this component.
|
void |
setSize(GuiComponent.Transform transform) |
void |
setSize(int width,
int height) |
public Transform()
public Transform(int x,
int y,
int width,
int height)
public Transform(GuiComponent.Transform transform)
public void offset(int x,
int y)
public void setPos(int x,
int y)
x - The absolute position x of the component.y - The absolute position y of the component.public void setPos(GuiComponent.Transform transform)
public void setSize(int width,
int height)
public void setSize(GuiComponent.Transform transform)