限定符和类型 | 字段和说明 |
---|---|
Point2D |
center
中心点。
|
double |
height
旋转前的高度。
|
double |
radiusX
圆角的长半轴长度。
|
double |
radiusY
圆角的短半轴长度。
|
double |
rotation
旋转角度。
|
double |
width
旋转前的宽度。
|
构造器和说明 |
---|
GeoRoundRectangle()
构造函数。
|
GeoRoundRectangle(GeoRoundRectangle geoRoundRectangle)
根据给定的 GeoRoundRectangle 对象构造一个与其完全相同的新对象。
|
GeoRoundRectangle(int id, Point2D center, double height, double width, double radiusX, double radiusY, double rotation)
根据指定的参数来构造一个 GeoRoundRectangle 的新对象。
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object obj)
比较指定对象与当前 Geometry 对象是否相等。
|
Point2D |
getCenter()
获取几何对象中心点。
|
int |
hashCode()
获取哈希码。
|
equals, fromPoint2D, fromPoint2Ds, fromPoint2Ds, fromRect2D, getBounds, isGeometryCAD, isPointInPolygon, setCenter
public Point2D center
中心点。
public double height
旋转前的高度。
public double width
旋转前的宽度。
public double radiusX
圆角的长半轴长度。
public double radiusY
圆角的短半轴长度。
public double rotation
旋转角度。旋转基点为二维圆角矩形几何对象的中心点。
public GeoRoundRectangle()
构造函数。
public GeoRoundRectangle(int id, Point2D center, double height, double width, double radiusX, double radiusY, double rotation)
根据指定的参数来构造一个 GeoRoundRectangle 的新对象。
id
- 对象的id。center
- 中心点。height
- 旋转前的高度。width
- 旋转前的宽度。radiusX
- 圆角的长半轴长度。radiusY
- 圆角的短半轴长度。rotation
- 旋转角度。旋转基点为二维圆角矩形几何对象的中心点。public GeoRoundRectangle(GeoRoundRectangle geoRoundRectangle)
根据给定的 GeoRoundRectangle 对象构造一个与其完全相同的新对象。
geoRoundRectangle
- 给定的 GeoRoundRectangle 对象。