| Constructor and Description | 
|---|
Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
Polygon.Builder | 
addRing(Point p1,
       Point p2,
       Point p3,
       Point... pn)
Adds a new ring for this polygon. 
 | 
Polygon | 
build()
Builds the polygon. 
 | 
public Polygon.Builder addRing(Point p1, Point p2, Point p3, Point... pn)
p1 - the first point.p2 - the second point.p3 - the third point.pn - additional points.public Polygon build()
Copyright © 2012–2018. All rights reserved.