public class Polygon extends AbstractModel
skipSign
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 The coordinates of the lower-right vertex.
|
Coord |
getLeftTop()
Get The coordinates of the upper-left vertex.
|
Coord |
getRightBottom()
Get The coordinates of the lower-left vertex.
|
Coord |
getRightTop()
Get The coordinates of the upper-right vertex.
|
void |
setLeftBottom(Coord LeftBottom)
Set The coordinates of the lower-right vertex.
|
void |
setLeftTop(Coord LeftTop)
Set The coordinates of the upper-left vertex.
|
void |
setRightBottom(Coord RightBottom)
Set The coordinates of the lower-left vertex.
|
void |
setRightTop(Coord RightTop)
Set The coordinates of the upper-right vertex.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Polygon()
public Polygon(Polygon source)
public Coord getLeftTop()
public void setLeftTop(Coord LeftTop)
LeftTop
- The coordinates of the upper-left vertex.public Coord getRightTop()
public void setRightTop(Coord RightTop)
RightTop
- The coordinates of the upper-right vertex.public Coord getRightBottom()
public void setRightBottom(Coord RightBottom)
RightBottom
- The coordinates of the lower-left vertex.public Coord getLeftBottom()
public void setLeftBottom(Coord LeftBottom)
LeftBottom
- The coordinates of the lower-right vertex.Copyright © 2023. All rights reserved.