Margins
内容
[
隐藏
]遗产: java.lang.Object
public final class Margins
此类表示图像的边距。
构造函数
构造函数 | 描述 |
---|---|
Margins(int left, int right, int top, int bottom) | 初始化 Margins 类的新实例。 |
Margins() | 初始化 Margins 类的新实例。 |
方法
Margins(int left, int right, int top, int bottom)
public Margins(int left, int right, int top, int bottom)
初始化 Margins 类的新实例。
参数:
范围 | 类型 | 描述 |
---|---|---|
left | int | 左坐标。 |
right | int | 正确的坐标。 |
top | int | 顶坐标。 |
bottom | int | 底部坐标。 |
Margins()
public Margins()
初始化 Margins 类的新实例。
equals(Object arg0)
public boolean equals(Object arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Object |
退货: 布尔值
getBottom()
public int getBottom()
得到底部。
退货: int - int 值:底部。
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getLeft()
public int getLeft()
得到左边。
退货: int - int 值:左边。
getRight()
public int getRight()
获得权利。
退货: int - int 值:正确。
getTop()
public int getTop()
获得顶部。
退货: int - int 值:顶部。
hashCode()
public native int hashCode()
退货: 整数
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setBottom(int value)
public void setBottom(int value)
设置底部。
参数:
范围 | 类型 | 描述 |
---|---|---|
value | int | int 值:底部。 |
setLeft(int value)
public void setLeft(int value)
设置左侧。
参数:
范围 | 类型 | 描述 |
---|---|---|
value | int | int值:左边。 |
setRight(int value)
public void setRight(int value)
设置正确。
参数:
范围 | 类型 | 描述 |
---|---|---|
value | int | int值:右边。 |
setTop(int value)
public void setTop(int value)
设置顶部。
参数:
范围 | 类型 | 描述 |
---|---|---|
value | int | int值:顶部。 |
toString()
public String toString()
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long | |
arg1 | int |