public class Polygon extends AbstractModel
Constructor and Description |
---|
Polygon() |
Polygon(Polygon source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Coord |
getLeftBottom()
Get 左下顶点坐标
|
Coord |
getLeftTop()
Get 左上顶点坐标
|
Coord |
getRightBottom()
Get 右下顶点坐标
|
Coord |
getRightTop()
Get 右上顶点坐标
|
void |
setLeftBottom(Coord LeftBottom)
Set 左下顶点坐标
|
void |
setLeftTop(Coord LeftTop)
Set 左上顶点坐标
|
void |
setRightBottom(Coord RightBottom)
Set 右下顶点坐标
|
void |
setRightTop(Coord RightTop)
Set 右上顶点坐标
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Polygon()
public Polygon(Polygon source)
public Coord getLeftTop()
public void setLeftTop(Coord LeftTop)
LeftTop
- 左上顶点坐标public Coord getRightTop()
public void setRightTop(Coord RightTop)
RightTop
- 右上顶点坐标public Coord getRightBottom()
public void setRightBottom(Coord RightBottom)
RightBottom
- 右下顶点坐标public Coord getLeftBottom()
public void setLeftBottom(Coord LeftBottom)
LeftBottom
- 左下顶点坐标Copyright © 2022. All rights reserved.