Cloneablepublic class RectangleShape extends PolygonShape
| 构造器 | 说明 |
|---|---|
RectangleShape() |
Constructor
|
RectangleShape(double x,
double y,
double width,
double height) |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Object |
clone() |
Clone
|
double |
getRoundX() |
Get round x
|
double |
getRoundY() |
Get round y
|
ShapeTypes |
getShapeType() |
Get shape type
|
boolean |
isRound() |
Get is round or not
|
void |
setRoundX(double value) |
Set round y
|
void |
setRoundY(double value) |
Set round y
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHole, 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, valueClonebuffer, 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, withinpublic RectangleShape()
public RectangleShape(double x,
double y,
double width,
double height)
x - Xy - Ywidth - Widthheight - Heightpublic ShapeTypes getShapeType()
ShapegetShapeType 在类中 PolygonShapepublic boolean isRound()
public double getRoundX()
public void setRoundX(double value)
value - Round ypublic double getRoundY()
public void setRoundY(double value)
value - Round ypublic Object clone()
clone 在类中 PolygonShapeCopyright © 2019. All rights reserved.