类 RectangleShape
- java.lang.Object
-
- org.meteoinfo.shape.Shape
-
- org.meteoinfo.shape.PolygonShape
-
- org.meteoinfo.shape.RectangleShape
-
- 所有已实现的接口:
java.lang.Cloneable
public class RectangleShape extends PolygonShape
- 作者:
- yaqiang
-
-
构造器概要
构造器 构造器 说明 RectangleShape()ConstructorRectangleShape(double x, double y, double width, double height)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.Objectclone()ClonedoublegetRoundX()Get round xdoublegetRoundY()Get round yShapeTypesgetShapeType()Get shape typebooleanisRound()Get is round or notvoidsetRoundX(double value)Set round yvoidsetRoundY(double value)Set round y-
从类继承的方法 org.meteoinfo.shape.PolygonShape
addHole, addHole, addVertice, clone_back, cloneValue, difference, getArea, getPartIndex, getPartNum, getParts, getPointNum, getPoints, getPolygons, getSphericalArea, removeHole, removeVerice, reverse, setPartNum, setParts, setPoints, setPoints, setPoints_keep, setPolygons, toGeometry, updatePolygons, updatePolygons_keep, valueClone
-
从类继承的方法 org.meteoinfo.shape.Shape
buffer, contains, convexHull, coveredBy, covers, crosses, disjoint, equals, geometry2Shape, getExtent, getLegendIndex, getValue, intersection, intersects, isEditing, isSelected, isVisible, move, moveVertice, overlaps, reform, setEditing, setExtent, setLegendIndex, setSelected, setValue, setVisible, split, symDifference, toGeometry, touches, union, within
-
-
-
-
方法详细资料
-
getShapeType
public ShapeTypes getShapeType()
从类复制的说明:ShapeGet shape type- 覆盖:
getShapeType在类中PolygonShape- 返回:
- Shape type
-
isRound
public boolean isRound()
Get is round or not- 返回:
- Boolean
-
getRoundX
public double getRoundX()
Get round x- 返回:
- Round x
-
setRoundX
public void setRoundX(double value)
Set round y- 参数:
value- Round y
-
getRoundY
public double getRoundY()
Get round y- 返回:
- Round y
-
setRoundY
public void setRoundY(double value)
Set round y- 参数:
value- Round y
-
clone
public java.lang.Object clone()
Clone- 覆盖:
clone在类中PolygonShape- 返回:
- RectangleShape object
-
-