public final class WidgetPolygonalCoordinates
extends java.lang.Object
| Constructor | Description |
|---|---|
WidgetPolygonalCoordinates(Widget widget,
java.awt.Polygon polygon) |
Creates an instance of a WidgetPolygonalCoordinates object.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.Polygon |
getPolygon() |
Returns the Polygon stored in this class.
|
Widget |
getWidget() |
Returns the Widget stored in this class.
|
public WidgetPolygonalCoordinates(Widget widget, java.awt.Polygon polygon)
widget - The Widget (may be a ConnectionWidget) being encompassed
by the polygon.polygon - The Polygon surrounding the respective Widget.public Widget getWidget()
public java.awt.Polygon getPolygon()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.