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 |
---|---|
boolean |
equals(Object obj) |
List<Point> |
getPoints()
|
int |
hashCode() |
Iterator<Point> |
iterator() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.