코드
2010-04-05 01:39:34
연구실
private void drawEntityNRelation(GraphPoint rootPoint,GraphPoint entityPoint,String term){
//두 점이 들어오지만 p2만 Rect를 그린다.
fillRect(entityPoint.getX(), entityPoint.getY(), rectSizeX, rectSizeY); //Root
moveTo(rootPoint.getX()+(rectSizeX/2.0), rootPoint.getY()+(rectSizeY/2.0));
lineTo(entityPoint.getX()+(rectSizeX/2.0),entityPoint.getY()+(rectSizeY/2.0));
}
▼ more