public class AbsoluteBendpoint extends Point implements Bendpoint
Connections
.Constructor and Description |
---|
AbsoluteBendpoint(int x,
int y)
Creates a new AbsoluteBendpoint at the Point (x,y).
|
AbsoluteBendpoint(Point p)
Creates a new AbsoluteBendpoint at the Point p.
|
Modifier and Type | Method and Description |
---|---|
Point |
getLocation()
Returns the location of the bendpoint relative to the
connection.
|
equals, equals, getCopy, getDifference, getDistance, getDistance2, getDistanceOrthogonal, getNegated, getPosition, getScaled, getScaled, getSWTPoint, getTranslated, getTranslated, getTranslated, getTranslated, getTransposed, hashCode, max, min, negate, performScale, performTranslate, preciseX, preciseY, scale, scale, setLocation, setLocation, setX, setY, toString, translate, translate, translate, translate, transpose, x, y
public AbsoluteBendpoint(Point p)
p
- The absolute location of the bendpointpublic AbsoluteBendpoint(int x, int y)
x
- The X coordinatey
- The Y coordinatepublic Point getLocation()
Bendpoint
getLocation
in interface Bendpoint
Bendpoint.getLocation()
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.