public class ST_Box extends STBase implements Cloneable
示例:
10 10 50 50
————《GB/T 33190-2016》 表 2 基本数据类型
| 构造器和说明 |
|---|
ST_Box(double topLeftX,
double topLeftY,
double width,
double height) |
ST_Box(Serializable... arr)
通用构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
ST_Box |
clone() |
Double |
getHeight() |
static ST_Box |
getInstance(String arrStr)
获取 ST_Box 实例如果参数非法则返还null
|
ST_Pos |
getTopLeftPos()
获取左上角坐标定点
|
Double |
getTopLeftX() |
Double |
getTopLeftY() |
Double |
getWidth() |
ST_Box |
setHeight(Double height) |
ST_Box |
setTopLeftX(Double topLeftX) |
ST_Box |
setTopLeftY(Double topLeftY) |
ST_Box |
setWidth(Double width) |
String |
toString() |
fmt, getElement, toDouble, toIntpublic ST_Box(double topLeftX,
double topLeftY,
double width,
double height)
public ST_Box(Serializable... arr)
arr - 任意类型可序列化参数public static ST_Box getInstance(String arrStr)
arrStr - 数字字符串public Double getTopLeftX()
public Double getTopLeftY()
public Double getWidth()
public Double getHeight()
public ST_Pos getTopLeftPos()
Copyright © 2021. All rights reserved.