public static class RoutingFrame.RoutePoint
extends java.lang.Object
Constructor and Description |
---|
RoutingFrame.RoutePoint(RoutingFrame.RoutingContact contact,
java.awt.geom.Point2D loc,
int angle)
Constructor to create a RoutePoint in the final routing.
|
Modifier and Type | Method and Description |
---|---|
RoutingFrame.RoutingContact |
getContact()
Method to return the RoutingContact that is to be placed at this RoutePoint.
|
java.awt.geom.Point2D |
getLocation()
Method to return the coordinates of this RoutePoint.
|
public RoutingFrame.RoutePoint(RoutingFrame.RoutingContact contact, java.awt.geom.Point2D loc, int angle)
contact
- the RoutingContact to place at this point. For the ends of
the RoutingSegment, use RoutingContact.STARTPOINT and RoutingContact.FINISHPOINT.loc
- the coordinates of this RoutePoint.angle
- the rotation of the RoutingContact (in degrees).public RoutingFrame.RoutingContact getContact()
public java.awt.geom.Point2D getLocation()