public final class WidgetPolygonalCoordinates extends Object
Constructor and Description |
---|
WidgetPolygonalCoordinates(Widget widget,
Polygon polygon)
Creates an instance of a WidgetPolygonalCoordinates object.
|
Modifier and Type | Method and Description |
---|---|
Polygon |
getPolygon()
Returns the Polygon stored in this class.
|
Widget |
getWidget()
Returns the Widget stored in this class.
|
public WidgetPolygonalCoordinates(Widget widget, Polygon polygon)
widget
- The Widget (may be a ConnectionWidget) being encompassed
by the polygon.polygon
- The Polygon surrounding the respective Widget.