public class Polygon extends Object implements Iterable<Point>, Shape
Polygon.| Constructor and Description |
|---|
Polygon(List<? extends Point> points)
Creates a new
Polygon for the given Points. |
Polygon(Point x,
Point y,
Point z,
Point... others)
Creates a new
Polygon for the given Points. |
| Modifier and Type | Method and Description |
|---|---|
List<Point> |
getPoints()
|
Iterator<Point> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.