int r = isInput() ? INPUT_RADIUS : OUTPUT_RADIUS;
return UnmodifiableList.create(new Handle[] {
new Handle(this, loc.translate(-r, -r)),
new Handle(this, loc.translate(r, -r)),
new Handle(this, loc.translate(r, r)),
new Handle(this, loc.translate(-r, r)) });
}
@Override
public void paint(Graphics g, HandleGesture gesture) {
Location location = getLocation();